aboutsummaryrefslogtreecommitdiff
path: root/.tcshrc
diff options
context:
space:
mode:
Diffstat (limited to '.tcshrc')
-rw-r--r--.tcshrc20
1 files changed, 20 insertions, 0 deletions
diff --git a/.tcshrc b/.tcshrc
new file mode 100644
index 0000000..481bbc6
--- /dev/null
+++ b/.tcshrc
@@ -0,0 +1,20 @@
+#!/usr/bin/env tcsh
+
+"$HOME/.profile"
+
+set BAT=`which bat || which batcat`
+
+if ( "$BAT" != "" ) then
+ alias cat "$BAT -p"
+endif
+
+alias cls clear
+alias ls `which lsd || echo "ls -h -F --color=auto"`
+alias sudo `which doas || which sudo || echo "su -c"`
+
+set STARSHIP=`which starship`
+
+if ( "$STARSHIP" != "" ) then
+ eval `starship init tcsh`
+endif
+