diff --git a/.bashrc b/.bashrc deleted file mode 100644 index 6bf2ab6..0000000 --- a/.bashrc +++ /dev/null @@ -1,11 +0,0 @@ - - -export COLOR_ACCENT="#0ca8fb" -export COLOR_SECONDARY="#011f2a" -export COLOR_TERTIARY="#0f63bd" - -tmux set-environment -g COLOR_ACCENT "#0ca8fb" -tmux set-environment -g COLOR_SECONDARY "#011f2a" -tmux set-environment -g COLOR_TERTIARY "#0f63bd" - -eval "$(oh-my-posh init bash --config ~/.omp.json)" \ No newline at end of file diff --git a/.bat.rc b/.config/bat/bat.rc similarity index 100% rename from .bat.rc rename to .config/bat/bat.rc diff --git a/fzf.rc b/.config/fzf/fzf.rc similarity index 100% rename from fzf.rc rename to .config/fzf/fzf.rc diff --git a/.lsd.conf b/.config/lsd/config.yaml similarity index 100% rename from .lsd.conf rename to .config/lsd/config.yaml diff --git a/.lsd.rc b/.config/lsd/lsd.rc similarity index 100% rename from .lsd.rc rename to .config/lsd/lsd.rc diff --git a/.lsd.theme b/.config/lsd/themes/kamu.yaml similarity index 100% rename from .lsd.theme rename to .config/lsd/themes/kamu.yaml diff --git a/.omp.json b/.config/omp/omp.json similarity index 100% rename from .omp.json rename to .config/omp/omp.json diff --git a/.omp.rc b/.config/omp/omp.rc similarity index 100% rename from .omp.rc rename to .config/omp/omp.rc diff --git a/.general.rc b/.config/sh/_kfg.rc similarity index 81% rename from .general.rc rename to .config/sh/_kfg.rc index a42c16f..9513ce5 100644 --- a/.general.rc +++ b/.config/sh/_kfg.rc @@ -1,14 +1,3 @@ -bindkey "^[[1;5C" forward-word -bindkey "^[[1;5D" backward-word - -if command -v bat &> /dev/null; then - alias myip="curl https://ipinfo.io/json 2> /dev/null | bat -l JSON --file-name=https://ipinfo.io/json -p --paging=never" -else - alias myip="curl https://ipinfo.io/json 2> /dev/null" -fi - -alias ip='ip -c' - function _kfg { local -a _options _commands _programs @@ -60,4 +49,4 @@ function _kfg { *) return 0 ;; esac } -compdef _kfg kfg \ No newline at end of file +compdef _kfg kfg diff --git a/.config/sh/keybindings.rc b/.config/sh/keybindings.rc new file mode 100644 index 0000000..34368b0 --- /dev/null +++ b/.config/sh/keybindings.rc @@ -0,0 +1,2 @@ +bindkey "^[[1;5C" forward-word +bindkey "^[[1;5D" backward-word diff --git a/.config/sh/util.rc b/.config/sh/util.rc new file mode 100644 index 0000000..9a30b58 --- /dev/null +++ b/.config/sh/util.rc @@ -0,0 +1,7 @@ +if command -v bat &> /dev/null; then + alias myip="curl https://ipinfo.io/json 2> /dev/null | bat -l JSON --file-name=https://ipinfo.io/json -p --paging=never" +else + alias myip="curl https://ipinfo.io/json 2> /dev/null" +fi + +alias ip='ip -c' diff --git a/myip.sh b/.config/tmux/myip.sh old mode 100644 new mode 100755 similarity index 100% rename from myip.sh rename to .config/tmux/myip.sh diff --git a/.tmux.conf b/.config/tmux/tmux.conf similarity index 100% rename from .tmux.conf rename to .config/tmux/tmux.conf diff --git a/.tmux.rc b/.config/tmux/tmux.rc similarity index 100% rename from .tmux.rc rename to .config/tmux/tmux.rc diff --git a/.tmux.theme b/.config/tmux/tmux.theme similarity index 100% rename from .tmux.theme rename to .config/tmux/tmux.theme diff --git a/.zoxide.rc b/.config/zoxide/zoxide.rc similarity index 100% rename from .zoxide.rc rename to .config/zoxide/zoxide.rc