blob: 105ae9456523726c5218d02a22eaac2349494be7 (
plain)
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
|
autoload -U colors && colors
PS1="%B%{$fg[yellow]%}[%{$fg[green]%}%n%{$fg[yellow]%}@%{$fg[cyan]%}%M%{$fg[yellow]%}:%{$fg[yellow]%}%~%{$fg[yellow]%}]"$'\n'"%{$fg[yellow]%}>%b "
stty stop undef
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
setopt EXTENDED_HISTORY
unsetopt beep
bindkey -e
zstyle :compinstall filename '~/.zshrc'
autoload -Uz compinit
compinit
zstyle ':completion:*' menu select
zmodload zsh/complist
_comp_options+=(globdots)
alias \
ls='ls -Fv --color=auto --group-directories-first' \
ll='ls -lhvF --color=auto --group-directories-first' \
la='ls -lhvAF --color=auto --group-directories-first' \
grep='grep --color=auto' \
diff='diff --color=auto' \
tree='tree -C' \
cal='cal -ym' \
cp='cp -v' \
mv='mv -v' \
rm='rm -vI' \
mkdir='mkdir -pv' \
bc='bc -lq' \
ip='ip -c' \
wttr='curl https://wttr.in' \
mapscii='telnet mapscii.me' \
mpva='mpv --no-video' \
ytdl='yt-dlp' \
re='zathura' \
nsxiv='nsxiv -a' \
units='units -H ""'
|