aboutsummaryrefslogtreecommitdiff
path: root/.config/shell
diff options
context:
space:
mode:
Diffstat (limited to '.config/shell')
-rw-r--r--.config/shell/aliasrc14
-rw-r--r--.config/shell/profile22
2 files changed, 36 insertions, 0 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
new file mode 100644
index 0000000..b7da08e
--- /dev/null
+++ b/.config/shell/aliasrc
@@ -0,0 +1,14 @@
+# Verbosity and settings that you pretty much just always are going to want.
+alias \
+ cp="cp -iv" \
+ mv="mv -iv" \
+ rm="rm -vI"
+
+# Colorize commands
+alias \
+ ls="ls -hN --color=auto" \
+ grep="grep --color=auto" \
+ ip="ip -color=auto"
+
+alias \
+ v="nvim"
diff --git a/.config/shell/profile b/.config/shell/profile
new file mode 100644
index 0000000..6e19541
--- /dev/null
+++ b/.config/shell/profile
@@ -0,0 +1,22 @@
+export PATH="$PATH:$(find ~/.local/bin -type d | paste -sd ':' -)"
+export ZDOTDIR="$HOME/.config/zsh"
+export BROWSER="firefox"
+export EDITOR="nvim"
+export MANPAGER='nvim +Man!'
+export TERMINAL="foot"
+export TERMINAL_PROG="foot"
+
+export XDG_CONFIG_HOME="$HOME/.config"
+export XDG_DATA_HOME="$HOME/.local/share"
+export XDG_CACHE_HOME="$HOME/.cache"
+export XDG_STATE_HOME="$HOME/.local/state"
+export XDG_DOWNLOAD_DIR="$HOME/downloads"
+
+export GIT_CONFIG="$XDG_CONFIG_HOME/git/config"
+export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
+export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
+export CARGO_HOME="$XDG_DATA_HOME"/cargo
+
+export BEMENU_OPTS='--fb "#2e3440" --ff "#d8dee9" --nb "#2e3440" --nf "#d8dee9" --tb "#2e3440" --hb "#2e3440" --tf "#bf616a" --hf "#ebcb8b" --af "d8dee9" --ab "#2e3440" --fn "monospace 14"'
+
+[ "$(tty)" = "/dev/tty1" ] && ! pidof -s sway >/dev/null 2>&1 && exec dbus-run-session sway --unsupported-gpu