File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ alias le="less"
2626alias psg=' ps aux | grep'
2727alias sbrc=" source ~/.bashrc"
2828
29+ # Task wrapper function (functions work better with tab completion than aliases)
30+ t () { command task " $@ " ; }
31+ complete -F _task t
32+
2933alias grd=" ~/code/git-remove-debug/git-remove-debug"
3034
3135which ack-grep > /dev/null 2>&1 || alias ack-grep=" ack"
Original file line number Diff line number Diff line change 33# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
44# sources /etc/bash.bashrc).
55if ! shopt -oq posix; then
6- if [ -f /etc/bash_completion ]; then
6+ if [ -r /opt/homebrew/etc/profile.d/bash_completion.sh ]; then
7+ source /opt/homebrew/etc/profile.d/bash_completion.sh
8+ elif [ -f /etc/bash_completion ]; then
79 source /etc/bash_completion;
810 elif [ -f /usr/local/etc/bash_completion ]; then
911 source /usr/local/etc/bash_completion;
2224# Code jump completion
2325if [ -f " $DOTFILES_PATH /bash_completions/code_jump.bash" ]; then
2426 source " $DOTFILES_PATH /bash_completions/code_jump.bash"
25- fi
27+ fi
You can’t perform that action at this time.
0 commit comments