diff options
author | Shubham Saini <shubham6405@gmail.com> | 2020-02-22 07:12:19 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2020-02-22 07:12:19 +0000 |
commit | a82a3bdc99272c6d3edecbb810ae672bb18e3abf (patch) | |
tree | 39105ad746289b4b7a7f296df4246bdae1871072 /zsh | |
parent | b91fc6cd464e6639436ece51a44c73548a7e3449 (diff) |
...
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -73,7 +73,7 @@ ZSH_THEME="michelebologna" | |||
73 | # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | 73 | # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ |
74 | # Example format: plugins=(rails git textmate ruby lighthouse) | 74 | # Example format: plugins=(rails git textmate ruby lighthouse) |
75 | # Add wisely, as too many plugins slow down shell startup. | 75 | # Add wisely, as too many plugins slow down shell startup. |
76 | plugins=(git sudo extract python common-aliases autojump) | 76 | plugins=(git sudo extract python common-aliases archlinux fzf autojump) |
77 | 77 | ||
78 | source $ZSH/oh-my-zsh.sh | 78 | source $ZSH/oh-my-zsh.sh |
79 | 79 | ||
@@ -106,12 +106,9 @@ alias key="vim $HOME/.config/sxhkd/sxhkdrc" | |||
106 | alias wm="vim ~/.config/bspwm/bspwmrc" | 106 | alias wm="vim ~/.config/bspwm/bspwmrc" |
107 | alias f="ranger" | 107 | alias f="ranger" |
108 | alias bb="cat /proc/acpi/bbswitch" | 108 | alias bb="cat /proc/acpi/bbswitch" |
109 | alias nu="sudo nmcli connection up " | 109 | alias nu="nmcli connection up " |
110 | alias nt="sudo nmtui-connect" | 110 | alias nt="nmtui-connect" |
111 | alias nd="sudo nmcli connection down " | 111 | alias nd="nmcli connection down " |
112 | alias xi="sudo xbps-install -S " | ||
113 | alias xu="sudo xbps-install -Syu" | ||
114 | alias xr="sudo xbps-remove -R " | ||
115 | alias pg="ping google.com" | 112 | alias pg="ping google.com" |
116 | alias weather="curl wttr.in" | 113 | alias weather="curl wttr.in" |
117 | alias py="/bin/python" | 114 | alias py="/bin/python" |
@@ -125,6 +122,8 @@ alias z="zathura" | |||
125 | alias v="/usr/bin/nvim" | 122 | alias v="/usr/bin/nvim" |
126 | alias vim="/usr/bin/nvim" | 123 | alias vim="/usr/bin/nvim" |
127 | alias sudo="sudo " | 124 | alias sudo="sudo " |
125 | alias drctf="docker run --rm -v $PWD:/ctf --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -d --name ctf -i ctf" | ||
126 | alias dectf="docker exec -it ctf /bin/bash" | ||
128 | 127 | ||
129 | source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh | 128 | source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh |
130 | source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | 129 | source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
@@ -140,3 +139,4 @@ source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zs | |||
140 | 139 | ||
141 | # To add support for TTYs this line can be optionally added. | 140 | # To add support for TTYs this line can be optionally added. |
142 | #source ~/.cache/wal/colors-tty.sh | 141 | #source ~/.cache/wal/colors-tty.sh |
142 | |||