diff options
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -5,7 +5,8 @@ | |||
5 | export ZSH="/home/ssaini/.oh-my-zsh" | 5 | export ZSH="/home/ssaini/.oh-my-zsh" |
6 | export VISUAL=nvim | 6 | export VISUAL=nvim |
7 | export EDITOR="$VISUAL" | 7 | export EDITOR="$VISUAL" |
8 | export BROWSER=/opt/brave-v1.3.43-linux-x64/brave | 8 | export BROWSER=brave |
9 | export PATH=$PATH:$HOME/.local/bin | ||
9 | export XDG_CURRENT_DESKTOP=bspwm | 10 | export XDG_CURRENT_DESKTOP=bspwm |
10 | 11 | ||
11 | # Set name of the theme to load --- if set to "random", it will | 12 | # Set name of the theme to load --- if set to "random", it will |
@@ -74,7 +75,7 @@ SPACESHIP_PROMPT_ADD_NEWLINE=false | |||
74 | # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | 75 | # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ |
75 | # Example format: plugins=(rails git textmate ruby lighthouse) | 76 | # Example format: plugins=(rails git textmate ruby lighthouse) |
76 | # Add wisely, as too many plugins slow down shell startup. | 77 | # Add wisely, as too many plugins slow down shell startup. |
77 | plugins=(git sudo extract python common-aliases) | 78 | plugins=(git sudo archlinux extract python common-aliases) |
78 | 79 | ||
79 | source $ZSH/oh-my-zsh.sh | 80 | source $ZSH/oh-my-zsh.sh |
80 | 81 | ||
@@ -106,26 +107,21 @@ source $ZSH/oh-my-zsh.sh | |||
106 | alias key="vim $HOME/.config/sxhkd/sxhkdrc" | 107 | alias key="vim $HOME/.config/sxhkd/sxhkdrc" |
107 | alias wm="vim ~/.config/bspwm/bspwmrc" | 108 | alias wm="vim ~/.config/bspwm/bspwmrc" |
108 | alias f="ranger" | 109 | alias f="ranger" |
109 | alias xi="sudo xbps-install " | ||
110 | alias xr="sudo xbps-remove -R " | ||
111 | alias xu="sudo xbps-install -Syu " | ||
112 | alias xo="sudo xbps-remove -o" | ||
113 | alias xob="sudo xbps-remove -O" | ||
114 | alias bb="cat /proc/acpi/bbswitch" | 110 | alias bb="cat /proc/acpi/bbswitch" |
115 | alias ncu="sudo nmcli connection up " | 111 | alias ncu="nmcli connection up " |
116 | alias ncd="sudo nmcli connection down " | 112 | alias ncd="nmcli connection down " |
117 | alias pg="ping google.com" | 113 | alias pg="ping google.com" |
118 | alias py="/bin/python" | 114 | alias py="/bin/python" |
119 | alias pubip="curl ipinfo.io/ip" | 115 | alias pubip="curl ipinfo.io/ip" |
116 | alias mirror="sudo reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist" | ||
120 | alias k="pkill " | 117 | alias k="pkill " |
121 | alias m="cmus" | 118 | alias m="cmus" |
122 | alias vimrc="vim $HOME/.config/nvim/init.vim" | 119 | alias vimrc="vim $HOME/.config/nvim/init.vim" |
123 | alias poly="vim $HOME/.config/polybar/config" | 120 | alias poly="vim $HOME/.config/polybar/config" |
124 | alias todo="cat ~/Projects/todo" | ||
125 | alias z="zathura" | 121 | alias z="zathura" |
126 | alias v="/usr/bin/nvim" | 122 | alias v="/usr/bin/nvim" |
123 | alias vim="/usr/bin/nvim" | ||
127 | alias site="cd ~/Projects/site/" | 124 | alias site="cd ~/Projects/site/" |
128 | alias mt="udisksctl mount -b /dev/sda5" | ||
129 | alias sudo="sudo " | 125 | alias sudo="sudo " |
130 | 126 | ||
131 | source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh | 127 | source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh |