mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Unified aliases in oh-my-zsh aliases file.
This commit is contained in:
parent
80782afeca
commit
eff8820e29
3 changed files with 9 additions and 26 deletions
|
|
@ -26,6 +26,7 @@ else
|
|||
alias history='fc -l 1'
|
||||
fi
|
||||
|
||||
alias afind='ack-grep -il'
|
||||
# List direcory contents
|
||||
alias lsa='ls -lah'
|
||||
alias l='ls -la'
|
||||
|
|
@ -33,9 +34,13 @@ alias ll='ls -l'
|
|||
alias la='ls -lA'
|
||||
alias l=la
|
||||
alias sl=ls # often screw this up
|
||||
|
||||
alias afind='ack-grep -il'
|
||||
|
||||
# Git aliases
|
||||
alias gita='git add -A'
|
||||
alias gits='git st'
|
||||
alias gitk='gitk --all &'
|
||||
alias gitl='git l'
|
||||
alias gitw='git who'
|
||||
alias gitt='git tags'
|
||||
# Aliases
|
||||
alias ta='tmux attach -t'
|
||||
alias tl='tmux list-session'
|
||||
alias ts='tmux new-session'
|
||||
|
|
|
|||
|
|
@ -45,16 +45,5 @@ if [ -e $HOME/.cabal/bin ]; then export PATH="$HOME/.cabal/bin:$PATH"; fi
|
|||
|
||||
[ "$TERM" = "xterm" ] && TERM="xterm-256color"
|
||||
|
||||
# Aliases
|
||||
alias ta='tmux attach -t'
|
||||
alias tl='tmux list-session'
|
||||
alias ts='tmux new-session'
|
||||
# Git aliases
|
||||
alias gita='git add -A'
|
||||
alias gits='git status'
|
||||
alias gitl='git l'
|
||||
alias gitw='git who'
|
||||
alias gitt='git tags'
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
unsetopt correctall
|
||||
|
|
|
|||
|
|
@ -44,17 +44,6 @@ export EDITOR='vim'
|
|||
if [ -z "$LC_ALL" ]; then export LC_ALL=en_US.UTF-8; fi
|
||||
if [ -z "$LANG" ]; then export LANG=en_US.UTF-8; fi
|
||||
|
||||
# Aliases
|
||||
alias ta='tmux attach -t'
|
||||
alias tl='tmux list-session'
|
||||
alias ts='tmux new-session'
|
||||
# Git aliases
|
||||
alias gita='git add -A'
|
||||
alias gits='git status'
|
||||
alias gitl='git l'
|
||||
alias gitw='git who'
|
||||
alias gitt='git tags'
|
||||
|
||||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue