feat(zsh) Add openstack alias
This commit is contained in:
parent
beca1f8ef1
commit
a3331c0e51
2 changed files with 16 additions and 10 deletions
|
@ -104,10 +104,10 @@ if-shell '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -ge 1\)' 'se
|
||||||
if-shell '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -lt 1\) -o #{$TMUX_VERSION_MAJOR} -le 1' 'set -g mode-mouse off'
|
if-shell '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -lt 1\) -o #{$TMUX_VERSION_MAJOR} -le 1' 'set -g mode-mouse off'
|
||||||
|
|
||||||
# fix pane_current_path on new window and splits
|
# fix pane_current_path on new window and splits
|
||||||
if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind c; bind c new-window -c "#{pane_current_path}"'
|
#if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind c; bind c new-window -c "#{pane_current_path}"'
|
||||||
if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" "unbind '\"'; bind '\"' split-window -v -c '#{pane_current_path}'"
|
#if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" "unbind '\"'; bind '\"' split-window -v -c '#{pane_current_path}'"
|
||||||
if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind v; bind v split-window -h -c "#{pane_current_path}"'
|
#if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind v; bind v split-window -h -c "#{pane_current_path}"'
|
||||||
if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind %; bind % split-window -h -c "#{pane_current_path}"'
|
#if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind %; bind % split-window -h -c "#{pane_current_path}"'
|
||||||
|
|
||||||
set -g history-limit 90000
|
set -g history-limit 90000
|
||||||
set -g alternate-screen on
|
set -g alternate-screen on
|
||||||
|
|
18
zsh/.zshrc
18
zsh/.zshrc
|
@ -330,25 +330,31 @@ status() {
|
||||||
print ""
|
print ""
|
||||||
}
|
}
|
||||||
|
|
||||||
alias kbe='setxkbmap be'
|
alias bat='batcat'
|
||||||
alias kus='setxkbmap us'
|
|
||||||
alias dl='wget -r -k -T 5 -t 2 -U '\''Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'\'' '
|
alias dl='wget -r -k -T 5 -t 2 -U '\''Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'\'' '
|
||||||
alias egrep='egrep --color=auto'
|
alias egrep='egrep --color=auto'
|
||||||
alias fgrep='fgrep --color=auto'
|
alias fgrep='fgrep --color=auto'
|
||||||
alias flip='shuf -i 0-1 -n 1 | sed -e '\''s/1/Pile/'\'' -e '\''s/0/Face/'\'''
|
alias flip='shuf -i 0-1 -n 1 | sed -e '\''s/1/Pile/'\'' -e '\''s/0/Face/'\'''
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
alias ls='ls --classify --tabsize=0 --literal --color=auto --show-control-chars --human-readable'
|
alias ip="ip --color"
|
||||||
|
alias kbe='setxkbmap be'
|
||||||
|
alias kus='setxkbmap us'
|
||||||
alias l='ls -CF'
|
alias l='ls -CF'
|
||||||
alias la='ls -A'
|
alias la='ls -A'
|
||||||
alias ll='ls -lah'
|
alias ll='ls -lah'
|
||||||
alias osj='openstack -f json'
|
alias ls='ls --classify --tabsize=0 --literal --color=auto --show-control-chars --human-readable'
|
||||||
alias osc='openstack console log show'
|
alias osc='openstack console log show'
|
||||||
|
alias osj='openstack -f json'
|
||||||
|
alias osm="openstack --os-cloud management_stack"
|
||||||
|
alias osmb="openstack --os-cloud management_stack_sbg"
|
||||||
|
alias osmd="openstack --os-cloud management_stack_de"
|
||||||
alias oss='openstack server'
|
alias oss='openstack server'
|
||||||
alias psa='ps auxwwwf'
|
alias psa='ps auxwwwf'
|
||||||
alias toph='top -cHd1'
|
alias toph='top -cHd1'
|
||||||
alias vdir='vdir --color=auto'
|
alias vdir='vdir --color=auto'
|
||||||
alias ip="ip --color"
|
export BASTION_CONF_FILE=~/.config/ovh/bastion.env
|
||||||
source ~/.webhosting/activate
|
source ~/.webhosting/activate
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
zstyle ':completion:*' menu select
|
zstyle ':completion:*' menu select
|
||||||
fpath+=~/.zfunc
|
fpath+=~/.zfunc
|
||||||
|
fpath+=${ZDOTDIR:-~}/.zsh_functions
|
||||||
|
|
Loading…
Add table
Reference in a new issue