Skip to content

Commit

Permalink
fix(zsh/darwin): remove jd-gui alias, fix ls color in vterm
Browse files Browse the repository at this point in the history
  • Loading branch information
rennsax committed Jul 20, 2024
1 parent 5ab6dca commit fb69810
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions modules/zsh/config/.zshrc-darwin
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

export HOMEBREW_NO_AUTO_UPDATE=1

# jd-gui (cask)
alias jd-gui='java -jar /Applications/JD-GUI.app/Contents/Resources/Java/jd-gui-1.6.6-min.jar >& /dev/null &|'

#################### Linuxify ##############################

# most Linux distro has a separate utility `hd`
Expand All @@ -30,7 +27,9 @@ grabcan() {
zsh -c 'cd ~/codeplace/github/canvas_grab && ./canvas_grab.sh'
}

# Emacs
[ -n "$INSIDE_EMACS" ] && alias ls='gls --color=auto'
# Fix: in Emacs vterm, darwin ls cannot correctly display colors. This is
# because that the environment variable COLORTERM isn't set correctly.
# Reference: neovim/libvterm:vterm.c, ls(1).
[ -n "$INSIDE_EMACS" ] && export COLORTERM="truecolor"

# TODO: iterm2

0 comments on commit fb69810

Please sign in to comment.