bashrc

bashrc

https://git.tonybtw.com/bashrc.git git://git.tonybtw.com/bashrc.git

Initial commit

Commit
f2dd505edcbdea2fec62f4602ac671d4085f381f
Author
tonybtw <tonybtw@tonybtw.com>
Date
2025-11-23 05:25:26

Diff

diff --git a/.bashrc b/.bashrc
new file mode 100644
index 0000000..7b3ebc8
--- /dev/null
+++ b/.bashrc
@@ -0,0 +1,40 @@
+export PATH="$HOME/.emacs.d/bin:$PATH"
+export MANPAGER="nvim +Man!"
+export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow'
+
+alias ls='eza -l --icons'
+alias la='eza -a --icons'
+alias ll='eza -la --icons'
+alias lo='ll --sort=modified'
+
+# nixos stuff
+alias nrs='sudo nixos-rebuild switch --flake ~/nixos-dotfiles#nixos-btw'
+alias nc='nvim ~/nixos-dotfiles/.'
+
+# oxwm stuff
+alias asdf="cd ~/repos/oxwm; nix develop"
+
+# stuff that wont really change
+alias ..="cd .."
+alias ...='../..'
+alias ....="cd ../.."
+alias .....='../../..'
+alias ......="cd ../../.."
+alias .......='../../../..'
+alias ........="cd ../../../.."
+alias .........='../../../../..'
+alias ...........='../../../../../..'
+alias grep='grep --color=auto'
+
+# programming
+alias zt="zig test"
+
+# Source private aliases (SSH hosts, secrets, etc)
+if [ -f ~/.bashrc.local ]; then
+    source ~/.bashrc.local
+fi
+
+export PS1="\[\e[38;5;75m\]\u@\h \[\e[38;5;113m\]\w \[\e[38;5;189m\]\$ \[\e[0m\]"
+
+nitch
+eval "$(direnv hook bash)"