mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
split and reorg work aliases
This commit is contained in:
parent
343e2fa5f1
commit
9f3eb950a9
7 changed files with 30 additions and 27 deletions
|
|
@ -1,10 +1,7 @@
|
||||||
BUILDBOT_PROJECT_PATH="$HOME/projects/buildbot/"
|
BUILDBOT_PROJECT_PATH="$HOME/Projects/buildbot/"
|
||||||
|
|
||||||
alias cdb='cd $BUILDBOT_PROJECT_PATH/main'
|
alias cdb='cd $BUILDBOT_PROJECT_PATH/main'
|
||||||
alias cdp='cd $BUILDBOT_PROJECT_PATH'
|
alias cdp='cd $BUILDBOT_PROJECT_PATH'
|
||||||
alias cdd='cd $HOME/projects/dev-tools'
|
|
||||||
alias cdg='cd $HOME/projects/dev-tools/guake'
|
|
||||||
alias cdg3='cd $HOME/projects/dev-tools/guake-gtk3'
|
|
||||||
|
|
||||||
alias c='cactus'
|
alias c='cactus'
|
||||||
alias ci='cactus info'
|
alias ci='cactus info'
|
||||||
|
|
@ -54,24 +51,6 @@ alias cKcrcl='cactus kill ; cactus restart ; cactus log'
|
||||||
alias cKcss='cactus kill ; cactus slaves restart'
|
alias cKcss='cactus kill ; cactus slaves restart'
|
||||||
alias cKcssci='cactus kill ; cactus slaves restart ; cactus info'
|
alias cKcssci='cactus kill ; cactus slaves restart ; cactus info'
|
||||||
|
|
||||||
alias m='make'
|
|
||||||
alias s='subl'
|
|
||||||
alias a='atom'
|
|
||||||
|
|
||||||
alias sagiy='sudo apt-get install -y'
|
|
||||||
alias saguysaguy='sudo apt-get update -y ; sudo apt-get upgrade -y'
|
|
||||||
alias saguysaguysagay='sudo apt-get update -y ; sudo apt-get upgrade -y && sudo apt-get autoremove -y'
|
|
||||||
alias update-my-ubuntu='saguysaguysagay'
|
|
||||||
alias update-to-next-version='do-release-upgrade'
|
|
||||||
|
|
||||||
alias bing='notify-send "Stacked work finished" "Work being done in your favorite terminal is now finished. You can come back !!" -i /usr/share/pixmaps/apple-red.png -t 6000'
|
|
||||||
alias b='bing'
|
|
||||||
|
|
||||||
alias grinpy="grin -I '*.py'"
|
|
||||||
alias grinyaml="grin -I '*.yaml'"
|
|
||||||
alias grinsh="grin -I '*.sh'"
|
|
||||||
alias grinlog="grin -I '*.log'"
|
|
||||||
|
|
||||||
alias ssh_bbnext_sh='ssh sys_bbstage@buildbot-next.sh.intel.com'
|
alias ssh_bbnext_sh='ssh sys_bbstage@buildbot-next.sh.intel.com'
|
||||||
|
|
||||||
function bb_env()
|
function bb_env()
|
||||||
|
|
@ -101,8 +80,6 @@ function bb_envrestore()
|
||||||
# export PS1=$__PS1BKP
|
# export PS1=$__PS1BKP
|
||||||
}
|
}
|
||||||
|
|
||||||
alias autopep8_cur_directory='autopep8 --ignore=E501 -i **/*.py'
|
|
||||||
|
|
||||||
function bb_repo_upload()
|
function bb_repo_upload()
|
||||||
{
|
{
|
||||||
local REVIEWERS
|
local REVIEWERS
|
||||||
|
|
|
||||||
5
custom/plugins/work-aliases/work-aliases.plugin.zsh
Normal file
5
custom/plugins/work-aliases/work-aliases.plugin.zsh
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
alias cdd='cd $HOME/Projects/dev-tools'
|
||||||
|
alias cdo='cd $HOME/Projects/dev-tools/oh-my-zsh'
|
||||||
|
alias cdg='cd $HOME/Projects/dev-tools/guake'
|
||||||
|
alias cdg3='cd $HOME/Projects/dev-tools/guake-gtk3'
|
||||||
2
dot_files/.gitconfig
Normal file
2
dot_files/.gitconfig
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[include]
|
||||||
|
path = ~/.oh-my-zsh/dot_files/gitconfig
|
||||||
1
oh-my-zsh
Symbolic link
1
oh-my-zsh
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
/home/renault/Projects/dev-tools/oh-my-zsh
|
||||||
|
|
@ -75,7 +75,25 @@ alias rm='rm -i'
|
||||||
alias cp='cp -i'
|
alias cp='cp -i'
|
||||||
alias mv='mv -i'
|
alias mv='mv -i'
|
||||||
|
|
||||||
|
alias m='make'
|
||||||
|
alias s='subl'
|
||||||
|
alias a='atom'
|
||||||
|
|
||||||
alias saguagu="sudo apt-get update && sudo apt-get upgrade"
|
alias saguagu="sudo apt-get update && sudo apt-get upgrade"
|
||||||
|
alias sagiy='sudo apt-get install -y'
|
||||||
|
alias saguysaguy='sudo apt-get update -y ; sudo apt-get upgrade -y'
|
||||||
|
alias saguysaguysagay='sudo apt-get update -y ; sudo apt-get upgrade -y && sudo apt-get autoremove -y'
|
||||||
|
alias update-my-ubuntu='saguysaguysagay'
|
||||||
|
alias update-to-next-version='do-release-upgrade'
|
||||||
|
|
||||||
|
alias bing='notify-send "Stacked work finished" "Work being done in your favorite terminal is now finished. You can come back !!" -i /usr/share/pixmaps/apple-red.png -t 6000'
|
||||||
|
alias b='bing'
|
||||||
|
|
||||||
|
alias grinpy="grin -I '*.py'"
|
||||||
|
alias grinyaml="grin -I '*.yaml'"
|
||||||
|
alias grinsh="grin -I '*.sh'"
|
||||||
|
alias grinlog="grin -I '*.log'"
|
||||||
|
|
||||||
|
|
||||||
# Use Git’s colored diff when available
|
# Use Git’s colored diff when available
|
||||||
hash git &>/dev/null
|
hash git &>/dev/null
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ DISABLE_VENV_CD="true"
|
||||||
plugins=(git2 python repo intel-repo cp buildbot rsync git-extras git-remote-branch\
|
plugins=(git2 python repo intel-repo cp buildbot rsync git-extras git-remote-branch\
|
||||||
command-not-found debian dircycle encode64 lol extract launch_trial \
|
command-not-found debian dircycle encode64 lol extract launch_trial \
|
||||||
vim-scp ufw sublime pylint pep8 autopep8 \
|
vim-scp ufw sublime pylint pep8 autopep8 \
|
||||||
common-aliases buildbot_dev zsh-syntax-highlighting \
|
common-aliases work-aliases zsh-syntax-highlighting \
|
||||||
tmux txw jump grin pip colored-man docker yocto tig \
|
tmux txw jump grin pip colored-man docker yocto tig \
|
||||||
docker-rswl )
|
docker-rswl )
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,10 @@ DISABLE_VENV_CD="true"
|
||||||
# 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/*)
|
||||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
plugins=(git2 python repo intel-repo cp buildbot rsync git-extras git-remote-branch\
|
plugins=(git2 python repo cp buildbot rsync git-extras git-remote-branch\
|
||||||
command-not-found debian dircycle encode64 lol extract launch_trial \
|
command-not-found debian dircycle encode64 lol extract launch_trial \
|
||||||
vim-scp ufw sublime pylint pep8 autopep8 \
|
vim-scp ufw sublime pylint pep8 autopep8 \
|
||||||
common-aliases buildbot_dev zsh-syntax-highlighting \
|
common-aliases work-aliases zsh-syntax-highlighting \
|
||||||
txw jump grin pip colored-man osx tig brew)
|
txw jump grin pip colored-man osx tig brew)
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue