forked from flyingcakes85/i3-dots-ayu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
41 lines (37 loc) · 1.12 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
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/likhith/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
#
# Launch tmux
if command -v tmux>/dev/null; then
[[ ! $TERM =~ screen ]] && [ -z $TMUX ] && tmux new-session -A -s main
fi
#My aliases
alias c='cd /run/media/$USER/OS'
alias d='cd /run/media/$USER/DATA'
alias gol='cd /run/media/$USER/DATA/go'
alias dot='cd /run/media/$USER/DATA/dotfiles'
alias sem3='cd /run/media/$USER/DATA/IITKGP/sem3'
alias sem4='cd /run/media/$USER/DATA/IITKGP/sem4'
alias pds='cd /run/media/$USER/DATA/pds'
alias cl='clear'
alias today='date + "%A, %B %-d, %Y"'
alias ls='ls --color=auto'
alias l='ls -lav --ignore=..' # show long listingof all except ".."
alias rz='source ~/.zshrc'
#git aliases
ga='git add .'
gs='git status'
gc='git commit -m'
gr='git remote -v'
gi='git init'
gph='git push origin main'
gpl='git pull origin main'