summaryrefslogtreecommitdiffstats
path: root/dist/etc/dwvshrc
diff options
context:
space:
mode:
authorRory Dudley2024-08-09 18:57:07 -0600
committerRory Dudley2024-08-09 19:15:26 -0600
commitf94b2c5546dda28d558a12b5b1ba6ac3faa447c2 (patch)
tree766c4e57546dcd89f72c83371adb10236f7e5bd4 /dist/etc/dwvshrc
parent3f23ad58d2d0d1bd506a5d52bdf2d24c803f2105 (diff)
downloaddwarvish-f94b2c5546dda28d558a12b5b1ba6ac3faa447c2.tar.gz
Split OS-specific run commands into a different file
Do not run certain commands, except on specific operating systems, when calling the global run command file. This allows users to avoid having unaliases and unsets in their user-defined rc file (~/.dwvshrc). Signed-off-by: Rory Dudley <rory@netc.lu>
Diffstat (limited to 'dist/etc/dwvshrc')
-rw-r--r--dist/etc/dwvshrc6
1 files changed, 0 insertions, 6 deletions
diff --git a/dist/etc/dwvshrc b/dist/etc/dwvshrc
index 0db4ceb..7f7314e 100644
--- a/dist/etc/dwvshrc
+++ b/dist/etc/dwvshrc
@@ -1,11 +1,5 @@
#!/usr/bin/env dwvsh
-# Alias the grep command
-alias grep='grep --color=always'
-
-# Alias the which command
-alias which='alias | /usr/bin/which --tty-only --read-alias --show-tilde --show-dot'
-
# Default path
export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin