Add a mount alias with read-only features
This commit is contained in:
parent
75a2454393
commit
399b685d3f
1 changed files with 1 additions and 0 deletions
1
.aliases
1
.aliases
|
@ -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}"'
|
||||||
|
|
Loading…
Reference in a new issue