From f94b2c5546dda28d558a12b5b1ba6ac3faa447c2 Mon Sep 17 00:00:00 2001 From: Rory Dudley Date: Fri, 9 Aug 2024 18:57:07 -0600 Subject: 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 --- dist/etc/linuxrc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 dist/etc/linuxrc (limited to 'dist/etc/linuxrc') diff --git a/dist/etc/linuxrc b/dist/etc/linuxrc new file mode 100644 index 0000000..4a90d3a --- /dev/null +++ b/dist/etc/linuxrc @@ -0,0 +1,7 @@ +#!/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' -- cgit v1.2.3