-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
46 lines (41 loc) · 937 Bytes
/
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
# Lines configured by zsh-newuser-install
HISTFILE=~/.zsh_history
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/jeno/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias mpv="mpv --loop --gpu-context=wayland"
alias gall="git add --all"
alias gcom="git commit"
alias gs="git status"
alias gck="git checkout"
alias q="exit"
alias m="make -j8"
alias sm="sudo make install"
alias icat="kitty +kitten icat"
alias clima="curl http://pt.wttr.in"
alias v="nvim"
#alias vim="nvim"
alias mpdris="systemctl --user start mpd-mpris"
alias sudo="sudo "
c() {
if [ $# -eq 0 ];then
clear
elif [ -f $1 ]; then
cat $1
elif [ -d $1 ]; then
cd $1
fi
}
commit() {
git add -A
git commit -m "$1"
}