mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 02:25:11 +01:00
ssh alias to ensure compatibility with foreign hosts
This commit is contained in:
@@ -64,6 +64,9 @@ alias gl "git log"
|
|||||||
alias gt 'git tag|less'
|
alias gt 'git tag|less'
|
||||||
#alias gad 'git log --pretty='"'"'%at'"'"' | while read d; do date -d "@$d"; done | awk '"'"'{print $1}'"'"' | sort | uniq -c'
|
#alias gad 'git log --pretty='"'"'%at'"'"' | while read d; do date -d "@$d"; done | awk '"'"'{print $1}'"'"' | sort | uniq -c'
|
||||||
|
|
||||||
|
## SSH, for compatibility, as our terminfo now is non-standard 'tmux-256color-italic' in tmux
|
||||||
|
alias ssh 'TERM=xterm ssh'
|
||||||
|
|
||||||
## 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'
|
||||||
alias findphp 'find . -name "*.php" | xargs grep --color=auto'
|
alias findphp 'find . -name "*.php" | xargs grep --color=auto'
|
||||||
|
|||||||
Reference in New Issue
Block a user