@@ -486,11 +486,11 @@ Alternative to the `dirname` command.
dirname(){
# Usage: dirname "path"
dir=${1%%/}
dir=${dir%/*}
["$dir"]||dir=//
["${dir##*/*}"]&&dir=.
["${1##*/*}"]&&dir=.
printf'%s\n'"${dir%/*}"
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.