Skip to content

Commit

Permalink
Install direnv; fix grc
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmercer committed Nov 15, 2023
1 parent d31fb9f commit 885da02
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ sudo apt update
packages=(
"bat"
"colordiff"
"direnv"
"expect" # needed to set shell on Parrot
"fzf"
"gh"
Expand Down Expand Up @@ -81,7 +82,7 @@ else
fi
tar xf lazygit.tar.gz lazygit
sudo install lazygit /usr/local/bin
rm -rf "$HOME"/lazygit*
sudo rm -rf "$HOME"/lazygit*

# Remove packages
rm_packages=("nano")
Expand Down
1 change: 0 additions & 1 deletion system/alii.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ alias ~="cd ~" # `cd` is probably faster to type though
alias -- -="cd -"

# Shortcuts
alias D="cd ~/Dropbox"
alias C="cd ~/Code"
alias c="code ."
alias dl="cd ~/Downloads"
Expand Down
3 changes: 3 additions & 0 deletions system/direnv.zsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if type direnv &>/dev/null; then
eval "$(direnv hook zsh)"
fi
6 changes: 5 additions & 1 deletion system/grc.zsh
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# GRC colorizes nifty unix tools all over the place
source $HOMEBREW_PREFIX/etc/grc.zsh
if type brew &>/dev/null; then
source $HOMEBREW_PREFIX/etc/grc.zsh
else
source /etc/grc.zsh
fi

0 comments on commit 885da02

Please sign in to comment.