aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-03-30 08:54:00 +0100
committerMatthew Lemon <y@yulqen.org>2023-03-30 08:54:00 +0100
commitf82701a709d122d2ef098c9cb915bc3d7692f3fc (patch)
tree18ce20ef96b6d0a4f420bd04530206de7e2d3a1d
parent9ee9a68b49f1c427c9b7eff3ae16824111556e64 (diff)
move to bash
-rw-r--r--alacritty.yml8
-rw-r--r--bashrc39
2 files changed, 43 insertions, 4 deletions
diff --git a/alacritty.yml b/alacritty.yml
index 8b4b24f..575fbdf 100644
--- a/alacritty.yml
+++ b/alacritty.yml
@@ -445,10 +445,10 @@ cursor:
# Default:
# - (Linux/BSD/macOS) `$SHELL` or the user's login shell, if `$SHELL` is unset
# - (Windows) powershell
-shell:
- program: /usr/bin/fish
- args:
- - --login
+#shell:
+# program: /usr/bin/fish
+# args:
+# - --login
# Startup directory
#
diff --git a/bashrc b/bashrc
new file mode 100644
index 0000000..3db0574
--- /dev/null
+++ b/bashrc
@@ -0,0 +1,39 @@
+# completion as advised by arch wiki
+complete -cf sudo man which
+
+# reduce history size
+export HISTCONTROL=ignoreboth
+
+# prevent clobbering of files
+# echo "output" >| file.txt to do it manually
+set -o noclobber
+
+
+# aliases
+alias xclip='xclip -selection c'
+alias notes="cd ~/Documents/Notes/"
+alias bud="cd ~/Documents/Budget/ledger/hledger/"
+alias getip="curl ifconfig.me"
+alias tprojects="task rc.list.all.projects=1 projects"
+alias ttags="task rc.list.all.tags=1 tags"
+alias tkilled="task +killlist list"
+alias ttagged="task tags.any: list"
+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"
+
+# Environment variables
+export TERM="screen-256color"
+export LESS="-iMRS -x2"
+export NOTES_DIR="~/Documents/Notes"
+export RANGER_LOAD_DEFAULT_RC="FALSE"
+export FZF_DEFAULT_COMMAND="ag --nocolor -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"
+
+# gpg
+export=GPG_TTY="$(tty)"
+export=SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
+gpgconf --launch gpg-agent