forked from cxreg/smartcd
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
52 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# $@ contains the command line after "smartcd helper run history" | ||
# $SMARTCD_COMP_CWORD contains the numbered argument which is currently being completed | ||
# Set words="" to what you want to suggest | ||
|
||
case $SMARTCD_COMP_CWORD in | ||
1) words="localize also-read";; | ||
*) ;; # Path completion is the default | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# $@ contains the command line after "smartcd helper run path" | ||
# $SMARTCD_COMP_CWORD contains the numbered argument which is currently being completed | ||
# Set words="" to what you want to suggest | ||
|
||
case $SMARTCD_COMP_CWORD in | ||
1) words="append prepend";; | ||
*) ;; # Path completion is the default | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# $@ contains the command line after "smartcd helper run perlbrew" | ||
# $SMARTCD_COMP_CWORD contains the numbered argument which is currently being completed | ||
# Set words="" to what you want to suggest | ||
|
||
case $SMARTCD_COMP_CWORD in | ||
1) words="init";; | ||
*) ;; # Path completion is the default | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters