From d9a8468383a2ba843cc3d9bf41d0ed1a93e7fcfa Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 7 Apr 2022 00:29:26 +0200 Subject: doas, less, pfetch prompt --- .bashrc | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index 795b867..7660fb3 100644 --- a/.bashrc +++ b/.bashrc @@ -14,7 +14,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' source '/usr/share/fzf/key-bindings.bash' source '/usr/share/fzf/completion.bash' @@ -27,11 +30,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" @@ -47,3 +50,5 @@ alias i3config='vim $XDG_CONFIG_HOME/i3/config' alias startup='vim $XDG_CONFIG_HOME/i3/init' eval "$(starship init bash)" + +pfetch -- cgit v1.2.3-70-g09d2