-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
42 lines (37 loc) · 1.22 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
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory nomatch no_beep
unsetopt autocd extendedglob notify
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/tesu/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
autoload -U promptinit
promptinit
prompt bart
#PS1='[%n@%M %~]$ '
PS1='$ '
EDITOR=vim
alias ls='ls --color=auto -a'
alias radio='mpv https://stream.r-a-d.io/main.mp3 --volume=30'
alias streamlink='streamlink --player /usr/bin/mpv'
alias vim='vim -u /home/tesu/.vimrc'
alias vpn='sudo openconnect https://vpn.mit.edu/duo'
alias flexget='~/flexget/bin/flexget'
alias gitdf='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
alias fn='flexget execute --discover-now'
alias wifi='sudo systemctl restart NetworkManager'
alias shrink='gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf '
DESKTOP_SESSION=
# fixing hotkeys
bindkey "\e[1~" beginning-of-line
bindkey "\e[4~" end-of-line
bindkey "\e[3~" delete-char
bindkey "\e[7~" beginning-of-line
bindkey "\e[8~" end-of-line
neofetch