From ae16b1077311c228048f040f93977d3ae862340b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 25 Jan 2017 16:30:16 +1300 Subject: Add "pop" and "shift" methods to path() --- bash/bash_completion.d/path.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash') diff --git a/bash/bash_completion.d/path.bash b/bash/bash_completion.d/path.bash index a65e10ce..ba2dcb79 100644 --- a/bash/bash_completion.d/path.bash +++ b/bash/bash_completion.d/path.bash @@ -6,7 +6,7 @@ _path() { # Complete operation as first word local cmd - for cmd in list insert append remove check help ; do + for cmd in list insert append remove shift pop check help ; do [[ $cmd == "${COMP_WORDS[COMP_CWORD]}"* ]] || continue COMPREPLY[${#COMPREPLY[@]}]=$cmd done -- cgit v1.2.3