Skip to content

Commit

Permalink
feat(zsh): new zsh functions and aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
umgbhalla committed Apr 17, 2022
1 parent aa5e2d7 commit b8859ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions base/zsh/.config/zsh/aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ alias j='just'
alias jctl='journalctl -p3 --pager-end'
alias jctll='journalctl -f -n 100'
alias lswifi="nmcli conn show"
alias mp.="mpv ."
alias n='nvim'
alias op='xdg-open'
alias pacman='sudo pacman'
Expand Down
4 changes: 2 additions & 2 deletions base/zsh/.config/zsh/docker.zsh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
alias sdocker="sudo systemctl start docker"
alias ssdocker="sudo systemctl stop docker && sudo systemctl stop docker.socket"
alias dockerkill='docker stop $(docker ps -a -q)'
#
alias dockps="docker ps -a"
alias dps="docker ps"
# Select a docker container to start and attach to
function da() {
local cid
Expand Down Expand Up @@ -33,7 +34,6 @@ dockerprune() {
docker volume prune -f;
}

alias dockps="docker ps -a"

zstyle ':completion:*:*:docker:*' option-stacking yes
zstyle ':completion:*:*:docker-*:*' option-stacking yes

0 comments on commit b8859ef

Please sign in to comment.