aboutsummaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-05-06 15:21:36 +0100
committerMatthew Lemon <y@yulqen.org>2023-05-06 15:21:36 +0100
commit4e918c33e78dcfa408b298b24395c2ccdb1be340 (patch)
tree863778183ead70d861c0a2b250e7420e0466955d /bashrc
parent950cf246e71f75d1c7aa5150fc36167a5dfd930f (diff)
Adopt Debian focused Xresources and bashrc
Diffstat (limited to '')
-rw-r--r--bashrc15
1 files changed, 11 insertions, 4 deletions
diff --git a/bashrc b/bashrc
index 2fbc5e3..75205ee 100644
--- a/bashrc
+++ b/bashrc
@@ -10,7 +10,7 @@ if [ -f /usr/share/bash-completion/completions/pass ]; then
fi
# export PS1='bash-\v-\u@\h \W\$ '
-export PS1='\[\033[38;5;208m\]\u@\h:\w\$\[\033[0m\] '
+#export PS1='\[\033[38;5;208m\]\u@\h:\w\$\[\033[0m\] '
# vi mode
#set -o vi
@@ -39,7 +39,7 @@ alias hd='openai_data'
alias xclip='xclip -selection c'
alias notes="cd ~/Documents/Notes/"
alias blog="cd ~/code/html/yulqen.org/"
-alias bud="cd ~/Documents/Budget/ledger/hledger/"
+alias bud="cd ~/Budget/hledger/"
alias getip="curl ifconfig.me"
alias tprojects="task rc.list.all.projects=1 projects"
alias ttags="task rc.list.all.tags=1 tags"
@@ -49,13 +49,18 @@ alias tuntagged="task tags.none: list"
alias ttoday="task ml_due_or_scheduled_today"
alias tl="/home/lemon/Documents/Notes/todo/todo.sh list"
alias t="/home/lemon/Documents/Notes/todo/todo.sh"
+alias khal="$HOME/src/virtualenvs/khal-venv/bin/khal"
+alias vdirsyncer="$HOME/src/virtualenvs/khal-venv/bin/vdirsyncer"
+alias khard="$HOME/src/virtualenvs/khal-venv/bin/khard"
# Environment variables
-export TERM="screen-256color"
+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 RANGER_LOAD_DEFAULT_RC="FALSE"
-export FZF_DEFAULT_COMMAND="rg --files --hidden --glob '!.git' "
+# export FZF_DEFAULT_COMMAND="rg --files --hidden --glob '!.git' "
+export FZF_DEFAULT_COMMAND='ag -l --path-to-ignore ~/.ignore --nocolor --hidden -g ""'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_ALT_C_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_DEFAULT_OPTS="--color info:108,prompt:109,spinner:108,pointer:168,marker:168"
@@ -73,6 +78,8 @@ gpgconf --launch gpg-agent
source ~/Documents/Notes/todo/todo_completion
complete -o default -o nospace -F _todo t
+source $HOME/secrets
+
# Functions
##############################################################