docker aliases improveD

This commit is contained in:
Sameer Rahmani 2018-01-07 18:26:29 +00:00
parent 7ac1bf34c7
commit 9cd3a0a00a
3 changed files with 2067 additions and 7 deletions

View File

@ -78,6 +78,8 @@ alias co="chown "
alias d="docker" alias d="docker"
alias d-="docker-compose" alias d-="docker-compose"
alias dall="docker ps -a -q"
alias drm='d stop `dall`;d rm `dall`'
alias a="apt" alias a="apt"
alias ai="apt install" alias ai="apt install"

2057
lib/antigen.zsh Normal file

File diff suppressed because it is too large Load Diff

15
my.zsh
View File

@ -20,6 +20,7 @@
current_path=$(cd -P -- "$(dirname -- "$0")" && printf '%s\n' "$(pwd -P)") current_path=$(cd -P -- "$(dirname -- "$0")" && printf '%s\n' "$(pwd -P)")
current_file=$current_path/$(basename -- "$0") current_file=$current_path/$(basename -- "$0")
source $current_path/lib/antigen.zsh
#[[ -z "$PS1" ]] && return #[[ -z "$PS1" ]] && return
@ -70,13 +71,13 @@ source $current_path/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source $current_path/zsh-autosuggestions/autosuggestions.zsh source $current_path/zsh-autosuggestions/autosuggestions.zsh
# Enable autosuggestions automatically #Enable autosuggestions automatically
#zle-line-init() { # zle-line-init() {
# zle autosuggest-start # zle autosuggest-start
#} # }
#zle -N zle-line-init # zle -N zle-line-init
# use ctrl+t to toggle autosuggestions(hopefully this wont be needed as # #use ctrl+t to toggle autosuggestions(hopefully this wont be needed as
# zsh-autosuggestions is designed to be unobtrusive) # #zsh-autosuggestions is designed to be unobtrusive)
#bindkey '^T' autosuggest-toggle # bindkey '^T' autosuggest-toggle