Add README.md and force-iterm.plugin.zsh

This commit is contained in:
germax26 2024-08-07 22:12:17 +10:00
commit 2e6a14285d
Signed by: germax26
SSH Key Fingerprint: SHA256:N3w+8798IMWBt7SYH8G1C0iJlIa2HIIcRCXwILT5FvM
2 changed files with 12 additions and 0 deletions

2
README.md Normal file
View 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
View 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