aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-07-03 09:03:05 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-07-03 09:03:05 +1200
commit69606c545dcc09320be314c146dd40deca474b68 (patch)
treeadd5aa18259fc2bf6bff033043ff7d594b43214d /bash/bashrc
parentUse only single quotes for consistency (diff)
downloaddotfiles-69606c545dcc09320be314c146dd40deca474b68.tar.gz
dotfiles-69606c545dcc09320be314c146dd40deca474b68.zip
Disable aliases
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 6cc36668..17feeb06 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -40,6 +40,9 @@ stty -ixon -ctlecho 2>/dev/null
# Don't let anyone write(1) to my terminal
mesg n
+# Don't allow the creation of aliases, functions are better
+enable -n alias unalias
+
# Autocorrect fudged paths in cd calls
shopt -s cdspell
# Update the hash table properly