aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-06-15 11:05:24 +0100
committerMatthew Lemon <y@yulqen.org>2023-06-15 11:05:24 +0100
commitddbae9d7b849ca8e6d712e68e1ac4bbd99b3c7e4 (patch)
tree8b1969a0f2a883d308ba465f0555103ca83e3e4c
parent69baa6301b0747385ebfca0b27fe74b97e907e04 (diff)
Tweaks to stuff
-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 ""'