Created
May 19, 2015 20:36
-
-
Save montanaflynn/da1f0565c95a5a37b458 to your computer and use it in GitHub Desktop.
zen terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env fish | |
# Ubuntu Message of The Day | |
if test -f /etc/update-motd.d/* | |
chmod -x /etc/update-motd.d/* | |
end | |
# Fish Shell Greeting | |
set line1 "# Don't Show Fish Greeting" | |
set line2 "set --erase fish_greeting" | |
echo -e "nn$line1n$line2" >> ~/.config/fish/config.fish | |
. ~/.config/fish/config.fish | |
# SSH Last Login | |
set line1 "# Don't Show Last Login" | |
set line2 "PrintLastLog no" | |
echo -e "nn$line1n$line2" >> /etc/ssh/sshd_config | |
service ssh restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment