.profile: Make bash more uniform
This commit is contained in:
parent
720640c03b
commit
8437d55ced
@ -50,6 +50,11 @@ _proj() {
|
||||
# Autocompletion for zsh
|
||||
compdef _proj proj > /dev/null 2>&1 &&
|
||||
_proj() {
|
||||
for dir in $HOME/Projects/*; do
|
||||
temp="$(basename "$dir")"
|
||||
temp="${reply//[^ a-zA-Z0-9.]/}"
|
||||
reply+=" $temp"
|
||||
done
|
||||
return 0
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user