personal dotfiles: my Hyprland config
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc14
1 files changed, 12 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc
index dfdbdd4..de86879 100644
--- a/.bashrc
+++ b/.bashrc
@@ -136,9 +136,15 @@ alias pake='export COLUMNS;./vendor/indeyets/pake/bin/pake'
export NODE_OPTIONS="--max_old_space_size=8192"
# Zach stuff
-mggrep () { TT micro $(git grep -n "$@" | cut -d: -f1,2); };
+mggrep () { TT micro $(git grep -n "$@" | cut -d: -f1,2 | head -n 50); };
-mfi () { TT micro $(echo "$@" | xargs -n1 find . -not -path './vendor/*' -name | head -n 50); };
+ggrep () { git grep -n "$@" | cut -d: -f1,2; };
+
+mfi () {
+ trimmed=$(echo "$@" | xargs -n1 | sed 's/:.*//g')
+ # TODO: Include the numbers
+ TT micro $(echo "$trimmed" | xargs -n1 find . -not -path './vendor/*' -name | head -n 50);
+};
mfd () { TT micro $(echo "$@" | xargs -n1 fd --exclude=vendor -- | head -n 50); };
@@ -174,3 +180,7 @@ alias mycli_admin='mycli --defaults-group-suffix=_admin'
alias mycli_prodsup='mycli --defaults-group-suffix=_ProdSup'
eval $(thefuck --alias frick)
+
+eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
+export PATH="/home/zachariahdecook/.local/bin:$PATH"
+export EDITOR=micro