@@ -485,7 +485,15 @@ Alternative to the `dirname` command.
```sh
dirname(){
# Usage: dirname "path"
printf'%s\n'"${1%/*}/"
dir=${1%%/}
# If there are no '/' in the path, use '.'.
case$dir in
*/*);;
*)dir=.
esac
printf'%s\n'"${dir%/*}"
}
```
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.