summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adam.moloney.stuck@gmail.com>2022-04-07 00:29:26 +0200
committeradamstuck <adam.moloney.stuck@gmail.com>2022-04-07 08:39:41 +0200
commitd9a8468383a2ba843cc3d9bf41d0ed1a93e7fcfa (patch)
tree60178b0f82167e8b916387a89cdb3232562ebcff
parentfc7759dbf12874a83a03241d6cf59b568ed87a70 (diff)
doas, less, pfetch prompt
-rw-r--r--.bashrc17
1 files changed, 11 insertions, 6 deletions
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