aboutsummaryrefslogtreecommitdiff
path: root/home/shell/fish/login.fish
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/shell/fish/login.fish10
1 files changed, 10 insertions, 0 deletions
diff --git a/home/shell/fish/login.fish b/home/shell/fish/login.fish
new file mode 100644
index 0000000..8f29553
--- /dev/null
+++ b/home/shell/fish/login.fish
@@ -0,0 +1,10 @@
+# disable greeting
+set -U fish_greeting ''
+
+# set up ssh-agent
+find-ssh-agent
+
+# start sway
+if test -z "$DISPLAY"; and test (tty) = "/dev/tty1"
+ exec sway
+end