Skip to content

Instantly share code, notes, and snippets.

@montanaflynn
Created May 19, 2015 20:36
Show Gist options
  • Save montanaflynn/da1f0565c95a5a37b458 to your computer and use it in GitHub Desktop.
Save montanaflynn/da1f0565c95a5a37b458 to your computer and use it in GitHub Desktop.
zen terminal
#!/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