mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 05:45:11 +01:00
Use function instead of alias to fix tab completion
This commit is contained in:
@@ -81,7 +81,10 @@ alias gt 'git tag|less'
|
|||||||
alias ffnightly 'env MOZ_USE_XINPUT2=1 /usr/local/bin/firefoxnightly/firefox'
|
alias ffnightly 'env MOZ_USE_XINPUT2=1 /usr/local/bin/firefoxnightly/firefox'
|
||||||
|
|
||||||
## SSH, for compatibility, as our terminfo now is non-standard 'tmux-256color-italic' in tmux
|
## SSH, for compatibility, as our terminfo now is non-standard 'tmux-256color-italic' in tmux
|
||||||
alias ssh 'env TERM=xterm-256color ssh'
|
#alias ssh 'env TERM=xterm-256color ssh'
|
||||||
|
function ssh
|
||||||
|
TERM=screen-256color command ssh $argv
|
||||||
|
end
|
||||||
|
|
||||||
## Grepping
|
## Grepping
|
||||||
alias findfile 'find . | grep -v .svn | grep -v .hg | grep -v .git | grep'
|
alias findfile 'find . | grep -v .svn | grep -v .hg | grep -v .git | grep'
|
||||||
|
|||||||
Reference in New Issue
Block a user