umstrukturiert

This commit is contained in:
Christopher Beckmann
2023-05-26 17:00:58 +02:00
parent 1b227a5892
commit 4f35a25c10
16 changed files with 10 additions and 23 deletions

11
.bashrc
View File

@@ -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)"

View File

@@ -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
compdef _kfg kfg

View File

@@ -0,0 +1,2 @@
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word

7
.config/sh/util.rc Normal file
View File

@@ -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'

0
myip.sh → .config/tmux/myip.sh Normal file → Executable file
View File