From 511afc41829d5626e9e9b84cbc3d4a7c14d63165 Mon Sep 17 00:00:00 2001 From: awy Date: Sun, 24 Nov 2024 13:29:56 +0300 Subject: upload --- .config/shell/aliasrc | 14 ++++++++++++++ .config/shell/profile | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .config/shell/aliasrc create mode 100644 .config/shell/profile (limited to '.config/shell') 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" -- cgit v1.2.3