Add a mount alias with read-only features

This commit is contained in:
Rodolphe Breard 2016-10-30 12:28:56 +01:00
parent 75a2454393
commit 399b685d3f

View file

@ -8,6 +8,7 @@ alias grep='grep -n --color=auto'
alias j='jobs' alias j='jobs'
alias df='df -h' alias df='df -h'
alias du='du -ch' alias du='du -ch'
alias mount_ro='mount -o ro,noexec,noatime,nodev,nosuid,noiversion'
hash tree 2>/dev/null && alias t='tree' hash tree 2>/dev/null && alias t='tree'
hash htop 2>/dev/null && alias top='htop' hash htop 2>/dev/null && alias top='htop'
hash clang-format 2>/dev/null && alias clang-format='clang-format -style="{BasedOnStyle: llvm, IndentWidth: 4, AllowShortFunctionsOnASingleLine: None, KeepEmptyLinesAtTheStartOfBlocks: false}"' hash clang-format 2>/dev/null && alias clang-format='clang-format -style="{BasedOnStyle: llvm, IndentWidth: 4, AllowShortFunctionsOnASingleLine: None, KeepEmptyLinesAtTheStartOfBlocks: false}"'