mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
new aliases
This commit is contained in:
parent
71db2a3307
commit
24a4894f0e
2 changed files with 3 additions and 4 deletions
|
|
@ -49,8 +49,7 @@ alias lsbom='lsbom -f -l -s -pf'
|
||||||
#alias v.='vim .'
|
#alias v.='vim .'
|
||||||
#alias v='vim ~/.vimrc'
|
#alias v='vim ~/.vimrc'
|
||||||
#alias VS='vim -S Session.vim'
|
#alias VS='vim -S Session.vim'
|
||||||
alias top='htop'
|
alias zs='source ~/.zshrc'
|
||||||
alias zs='source ~/.zshrc; source ~/.zshenv'
|
|
||||||
|
|
||||||
|
|
||||||
if [[ -x "${commands[htop]}" ]]; then
|
if [[ -x "${commands[htop]}" ]]; then
|
||||||
|
|
@ -80,4 +79,4 @@ alias S="screen $screenrc -U -S"
|
||||||
[[ "$TERM" == 'xterm-256color' && -e "$HOME/.tmux256.conf" ]] && tmuxconf="-f '$HOME/.tmux256.conf'"
|
[[ "$TERM" == 'xterm-256color' && -e "$HOME/.tmux256.conf" ]] && tmuxconf="-f '$HOME/.tmux256.conf'"
|
||||||
alias tmux="tmux $tmuxconf"
|
alias tmux="tmux $tmuxconf"
|
||||||
alias tls="tmux list-sessions"
|
alias tls="tmux list-sessions"
|
||||||
|
alias ta="tmux attach -t"
|
||||||
|
|
|
||||||
2
zshrc
2
zshrc
|
|
@ -22,7 +22,7 @@ MODE_INDICATOR="%{$fg_bold[cyan]%}-- CMD MODE -- $R"
|
||||||
|
|
||||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
plugins=(git git-flow gem brew vi-mode pip osx)
|
plugins=(git git-flow gem brew vi-mode pip osx syntax-highlighting extract)
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
# Customize to your needs...
|
# Customize to your needs...
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue