Skip to content

Instantly share code, notes, and snippets.

@nicolasramy
Last active August 19, 2020 11:55
Show Gist options
  • Save nicolasramy/84b2f85f1c11d7da8880 to your computer and use it in GitHub Desktop.
Save nicolasramy/84b2f85f1c11d7da8880 to your computer and use it in GitHub Desktop.
This is why you should always lock your session -- https://twitter.com/tuxplanet/status/687702022905270272?s=09
#
#
fake-cd() {
echo "bash: cd: $1: No such file or directory"
}
#
#
fake-ls() {
echo "ls: cannot access $1: No such file or directory"
}
alias cd=fake-cd
alias ls=fake-ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment