aboutsummaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bashrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/bashrc b/bashrc
index 5d19ec1..f5389ee 100644
--- a/bashrc
+++ b/bashrc
@@ -34,6 +34,7 @@ source $HOME/dotfiles/openai_key
# aliases
alias pacget="pacman -Slq | fzf --multi --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S"
alias pacdel="pacman -Qq | fzf --multi --preview 'pacman -Qi {1}' | xargs -ro sudo pacman -Rns"
+alias pacpreview="pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'"
alias gloga='git log --oneline --decorate --graph --all'
alias batnote='batnote-source-code'
alias am='append_to_masterlist'
@@ -42,7 +43,7 @@ alias ls='ls --color=auto'
alias h='hey_openai'
alias hd='openai_data'
alias xclip='xclip -selection c'
-alias notes="cd ~/Documents/Notes/"
+alias notes="cd $HOME/Documents/Notes/"
alias blog="cd ~/code/html/yulqen.org/"
alias bud="cd ~/Budget/hledger/"
alias getip="curl ifconfig.me"
@@ -64,7 +65,7 @@ alias tcomptoday='task end.after:today-1d completed'
export LEDGER_FILE="$HOME/Budget/hledger/budget.ledger"
#export TERM="screen-256color" arch wiki says not to set this here.
export LESS="-iMRS -x2"
-export NOTES_DIR="~/Documents/Notes"
+export NOTES_DIR="$HOME/Documents/Notes"
export RANGER_LOAD_DEFAULT_RC="FALSE"
# export FZF_DEFAULT_COMMAND="rg --files --hidden --glob '!.git' "
export FZF_DEFAULT_COMMAND='ag -l --path-to-ignore ~/.ignore --nocolor --hidden -g ""'