JuvenalUrbino
So you dont think it really matters? I mean, my alias list is long, but creating functions would use more lines of code. Plus, so far my alias's serve their purpose so no point complicating things.. I suppose.
Anyway, I do have a question related to this section:
JuvenalUrbino
#--- shell options ---
# vi mode
set -o vi
# don't overwrite files with “>"
set -o noclobber
# PS command substitions
set -o promptcmds
# print pwd when changed
set -o cdprint
# export variables
set -o allexport
# filename completions
set -o tabcomplete
# disable nounset
set +u
Mind explaining what these do?
set -o vi
vs set -o emacs
I have it set to emacs. Why? I dont know.. I initially copied my .shrc
from @pin and never gave it another thought. However, I dont use (or know how to use) emacs so should I change it to vi
or can I simply set it to use vim
?
# don't overwrite files with “>"
set -o noclobber
Does this disble the use of writing to files witn >
or does it simply add text to the existing file without overwriting what's in there?