Updated rnt autocompletion
This commit is contained in:
parent
8662707319
commit
3a40e8c724
@ -25,11 +25,9 @@ function rnt() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
_rnt () { # autocompletion
|
_rnt () { # autocompletion
|
||||||
# Set
|
compadd $(ls $RD_PATH)
|
||||||
local cur=${COMP_WORDS[COMP_CWORD]}
|
|
||||||
COMPREPLY=( $(compgen -W "$(ls $RD_PATH)" -- $cur) )
|
|
||||||
}
|
}
|
||||||
complete -F _rnt rnt;
|
compdef _rnt rnt;
|
||||||
|
|
||||||
function refresh_rd_db() {
|
function refresh_rd_db() {
|
||||||
psql postgres -c "DROP DATABASE rentdynamics;"
|
psql postgres -c "DROP DATABASE rentdynamics;"
|
||||||
|
Loading…
Reference in New Issue
Block a user