From 399b685d3f0f2ffd776b5aa5a72500b719feea34 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Sun, 30 Oct 2016 12:28:56 +0100 Subject: [PATCH] Add a mount alias with read-only features --- .aliases | 1 + 1 file changed, 1 insertion(+) diff --git a/.aliases b/.aliases index 80aa8fd..1d879d7 100644 --- a/.aliases +++ b/.aliases @@ -8,6 +8,7 @@ alias grep='grep -n --color=auto' alias j='jobs' alias df='df -h' alias du='du -ch' +alias mount_ro='mount -o ro,noexec,noatime,nodev,nosuid,noiversion' hash tree 2>/dev/null && alias t='tree' 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}"'