-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move some things from bashrc over to profile
- Loading branch information
Showing
2 changed files
with
23 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# tee hee, i frickin love little chatty shit when i log in | ||
fortune /Users/joho/Projects/home/programmers_oblique_strategies | cowsay | ||
|
||
eval $(docker-machine env 99dev) | ||
|
||
[[ -s ~/.bashrc ]] && source ~/.bashrc | ||
|
||
complete -C aws_completer aws | ||
complete -C aws_completer sudo | ||
complete -C aws_completer aws-vault | ||
|
||
# project shortcuts with completion | ||
export PROJECTS="$HOME/Projects" | ||
|
||
p() { | ||
cd "$PROJECTS/$1" || exit | ||
} | ||
|
||
_p() { | ||
COMPREPLY=( $(compgen -W "$(ls $PROJECTS | grep -vE \"^_\")" -- ${COMP_WORDS[COMP_CWORD]} ) ) | ||
} | ||
|
||
complete -F _p p |
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