Add README.md and force-iterm.plugin.zsh
This commit is contained in:
commit
2e6a14285d
2
README.md
Normal file
2
README.md
Normal file
@ -0,0 +1,2 @@
|
||||
# Force iTerm
|
||||
I have started to hate Apple Terminal, and as an alternative, I am using iTerm. I made this plugin to prevent myself from ever using Apple Terminal again. The straw that broke the camel's back for me was the fact that emacs didn't display shell command outputs correctly if I started it from Apple Terminal. It showed ^[]7file://... BUT not if I started emacs from iTerm. So I just decided to write this to make sure that it would be displayed correctly. It is probably not emacs' fault if my chaning the shell changes something, so it's probably Apple's fault.
|
10
force-iterm.plugin.zsh
Normal file
10
force-iterm.plugin.zsh
Normal file
@ -0,0 +1,10 @@
|
||||
if [ "$TERM_PROGRAM" = "Apple_Terminal" ]; then
|
||||
for i in {1..9}; do
|
||||
echo "STOP FUCKING USING APPLE TERMINAL"
|
||||
done
|
||||
for i in {1..9}; do
|
||||
echo "USE A FUCKING GOOD TERMINAL LIKE ITERM"
|
||||
done
|
||||
open -a iTerm
|
||||
exit 1
|
||||
fi
|
Loading…
Reference in New Issue
Block a user