summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc18
1 files changed, 7 insertions, 11 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 6686e55..dad4d9e 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -5,7 +5,8 @@
5export ZSH="/home/ssaini/.oh-my-zsh" 5export ZSH="/home/ssaini/.oh-my-zsh"
6export VISUAL=nvim 6export VISUAL=nvim
7export EDITOR="$VISUAL" 7export EDITOR="$VISUAL"
8export BROWSER=/opt/brave-v1.3.43-linux-x64/brave 8export BROWSER=brave
9export PATH=$PATH:$HOME/.local/bin
9export XDG_CURRENT_DESKTOP=bspwm 10export 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.
77plugins=(git sudo extract python common-aliases) 78plugins=(git sudo archlinux extract python common-aliases)
78 79
79source $ZSH/oh-my-zsh.sh 80source $ZSH/oh-my-zsh.sh
80 81
@@ -106,26 +107,21 @@ source $ZSH/oh-my-zsh.sh
106alias key="vim $HOME/.config/sxhkd/sxhkdrc" 107alias key="vim $HOME/.config/sxhkd/sxhkdrc"
107alias wm="vim ~/.config/bspwm/bspwmrc" 108alias wm="vim ~/.config/bspwm/bspwmrc"
108alias f="ranger" 109alias f="ranger"
109alias xi="sudo xbps-install "
110alias xr="sudo xbps-remove -R "
111alias xu="sudo xbps-install -Syu "
112alias xo="sudo xbps-remove -o"
113alias xob="sudo xbps-remove -O"
114alias bb="cat /proc/acpi/bbswitch" 110alias bb="cat /proc/acpi/bbswitch"
115alias ncu="sudo nmcli connection up " 111alias ncu="nmcli connection up "
116alias ncd="sudo nmcli connection down " 112alias ncd="nmcli connection down "
117alias pg="ping google.com" 113alias pg="ping google.com"
118alias py="/bin/python" 114alias py="/bin/python"
119alias pubip="curl ipinfo.io/ip" 115alias pubip="curl ipinfo.io/ip"
116alias mirror="sudo reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist"
120alias k="pkill " 117alias k="pkill "
121alias m="cmus" 118alias m="cmus"
122alias vimrc="vim $HOME/.config/nvim/init.vim" 119alias vimrc="vim $HOME/.config/nvim/init.vim"
123alias poly="vim $HOME/.config/polybar/config" 120alias poly="vim $HOME/.config/polybar/config"
124alias todo="cat ~/Projects/todo"
125alias z="zathura" 121alias z="zathura"
126alias v="/usr/bin/nvim" 122alias v="/usr/bin/nvim"
123alias vim="/usr/bin/nvim"
127alias site="cd ~/Projects/site/" 124alias site="cd ~/Projects/site/"
128alias mt="udisksctl mount -b /dev/sda5"
129alias sudo="sudo " 125alias sudo="sudo "
130 126
131source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh 127source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh