-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
54 lines (37 loc) · 1.28 KB
/
.zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Manu Custom zshrc
# Path to your oh-my-zsh installation.
export ZSH=/home/manu/.oh-my-zsh
ZSH_THEME="cobalt2"
plugins=(
git z extract python pip
)
source $ZSH/oh-my-zsh.sh
# Some useful alias
alias zshconfig="subl ~/.zshrc"
# For ubuntu
#
# alias update="sudo apt update -y"
# alias upgrade="sudo apt upgrade -y"
# alias autoremove="sudo apt autoremove -y"
# alias doeverythingplz="update && upgrade && autoremove"
#
# alias install="sudo apt install -y "
# alias remove="sudo apt remove -y "
# For arch
alias doeverythingplz="sudo pacman -Syyu"
alias install="packer -S"
# SSH to my sites
alias ssh_bama="sudo ssh -i ~/.ssh/bama-test.pem [email protected]"
alias ssh_manu="sudo ssh -i ~/.ssh/manu-ec2.pem [email protected]"
alias ssh_manu_server="sudo ssh -i ~/.ssh/manu-server-key.pem [email protected]"
alias neo="neofetch"
alias vimi3="vim ~/.config/i3/config"
alias vimxres="vim ~/.Xresources"
alias subl="subl3"
alias evince="nohup evince"
alias restart_net="sudo systemctl restart NetworkManager"
# export NVM_DIR="$HOME/.nvm"
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# added by Anaconda3 installer
export PATH="/home/manu/anaconda3/bin:$PATH"