diff options
author | awy <awy@awy.one> | 2024-11-24 13:29:56 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2024-11-24 13:29:56 +0300 |
commit | 511afc41829d5626e9e9b84cbc3d4a7c14d63165 (patch) | |
tree | 14e7cb05f7206e39828bc49e6689f530615a41b9 /.config/shell | |
parent | 7b52375768323ce6b88156aa48b0d50ec2c8dafc (diff) |
upload
Diffstat (limited to '.config/shell')
-rw-r--r-- | .config/shell/aliasrc | 14 | ||||
-rw-r--r-- | .config/shell/profile | 14 |
2 files changed, 28 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..1913c43 --- /dev/null +++ b/.config/shell/profile @@ -0,0 +1,14 @@ +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_DOWNLOAD_DIR="$HOME/downloads" + +[ "$(tty)" = "/dev/tty1" ] && ! pidof -s dwl >/dev/null 2>&1 && exec "$XDG_CONFIG_HOME/dwl/start" |