aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorm0ntagur <leander@leander-scherer.de>2023-11-27 18:43:12 +0100
committerm0ntagur <leander@leander-scherer.de>2023-11-27 18:43:12 +0100
commit7b97cef3473ea0897c9c9027a4e9777843c0e50f (patch)
tree5cbd7bb25a9b2260aad67124426b2ff6c750b845 /.bashrc
parent62e3ad0e675ff818dc5a85ef8926b15f6ba92c5a (diff)
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc16
1 files changed, 16 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
new file mode 100644
index 0000000..6f9311d
--- /dev/null
+++ b/.bashrc
@@ -0,0 +1,16 @@
+#
+# ~/.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+alias ls='ls --color=auto'
+alias grep='grep --color=auto'
+PS1='[\u@\h \W]\$ '
+
+if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
+ exec Hyprland
+fi
+
+eval "$(starship init bash)"