summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authortsxv478 <atci39@rambler.ru>2024-06-19 06:58:00 +0300
committertsxv478 <atci39@rambler.ru>2024-06-19 06:58:00 +0300
commitfb05cbb94bbd6e8cfb22d3205d5463529313d868 (patch)
tree5d3898db011bb0202ad33cec1ff615b814d06341 /.zshrc
parent25fc2a381fb65157e81d0dce74fb0e7de7f8afa1 (diff)
Fix structure
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc39
1 files changed, 39 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
new file mode 100644
index 0000000..9fd9283
--- /dev/null
+++ b/.zshrc
@@ -0,0 +1,39 @@
+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 -v --color=auto --group-directories-first' \
+ ll='ls -lhv --color=auto --group-directories-first' \
+ la='ls -lhvA --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 ""'
+
+source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh 2>/dev/null