summaryrefslogtreecommitdiff
path: root/.config/zsh
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-04-07 00:29:26 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-04-07 00:29:26 +0200
commit45b9a1164cd6d255f22f200dc382b8fd9e06fa71 (patch)
treead1df56fda8d63066ad5ed6c73d9ab9de1cc04cf /.config/zsh
parent77035a755f6e7ec2e7ff37c3bbe2b2d543fd4658 (diff)
doas, less, pfetch prompt
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc17
1 files changed, 11 insertions, 6 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 6d46be8..0930eda 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -16,7 +16,10 @@ PATH="$HOME/.dotnet/tools:$PATH"
export PATH
export EDITOR=vim
export VISUAL=vim
-export PAGER=most
+export PAGER="less -j.5 -R --use-color -Dd+y -Du+c"
+
+alias sudo='doas'
+alias sudoedit='doas $EDITOR'
alias q='exit'
alias c='clear'
@@ -24,11 +27,11 @@ alias r='ranger'
alias nf='pfetch'
alias ls='exa'
-alias l='exa -1'
-alias la='exa -1a'
-alias ll='exa -la'
-alias lt='exa -T'
-alias lh="exa -1dI '.|..' .*"
+alias l='ls -1'
+alias la='ls -1a'
+alias ll='ls -la'
+alias lt='ls -T'
+alias lh="ls -1dI '.|..' .*"
alias gs='git status'
alias lg="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(cyan)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
@@ -56,3 +59,5 @@ source '/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh'
source '/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh'
source '/usr/share/zsh/plugins/zsh-vi-mode/zsh-vi-mode.zsh'
source '/usr/share/autojump/autojump.zsh'
+
+pfetch