addet dev environment

This commit is contained in:
PieckA 2024-06-07 14:03:08 +02:00
parent 367ac1a0f5
commit 363ba43bcc
3 changed files with 7 additions and 9 deletions

View file

@ -10,7 +10,7 @@ end
# ╰───────────────────────────────────────────────────╯ # ╰───────────────────────────────────────────────────╯
# ────────────────────────────────────────< sources >────────────────────────────────────── # ────────────────────────────────────────< sources >──────────────────────────────────────
source $HOME/.config/fish/init/*.fish # source $HOME/.config/fish/init/setup.fish
# ─────────────────────────────────< Environment-Variables >─────────────────────────────── # ─────────────────────────────────< Environment-Variables >───────────────────────────────
set -p EDITOR (which nvim) set -p EDITOR (which nvim)
@ -45,10 +45,6 @@ else
end end
end end
end end
# ─< set alias for clearl >─────────────────────────────────────────────────────────────────
if alias l >/dev/null 2>&1
alias clearl="command clear && l"
end
# ─< colored everything >─────────────────────────────────────────────────────────────────── # ─< colored everything >───────────────────────────────────────────────────────────────────
alias ip="ip --color=always" alias ip="ip --color=always"
@ -110,7 +106,7 @@ if command -v git >/dev/null 2>&1
alias gc="git clone --recurse-submodule" alias gc="git clone --recurse-submodule"
alias ga="git add" alias ga="git add"
alias gp="git pull --recurse-submodule" alias gp="git pull --recurse-submodule"
alias gsu="git pull --recurse-submodule && git submodule foreach git pull && git add . && git commit -m ' updated 📌submodules' && echo '-- Committed changes, pushing now..' && sleep 1 && git push" # alias gsu="git pull --recurse-submodule && git submodule foreach git pull && git add . && git commit -m ' updated 📌submodules' && echo '-- Committed changes, pushing now..' && sleep 1 && git push"
alias gcm="git commit -m" alias gcm="git commit -m"
alias gpu="git push --recurse-submodule=on-demand" alias gpu="git push --recurse-submodule=on-demand"
end end
@ -127,7 +123,7 @@ if command -v fastfetch >/dev/null 2>&1
alias f="fastfetch --config os" alias f="fastfetch --config os"
# ─< unsuccessful, cloning repo >────────────────────────────────────────────────────────── # ─< unsuccessful, cloning repo >──────────────────────────────────────────────────────────
case '*' case '*'
git clone https://git.k4li.de/mirror/fastfetch $HOME/.local/share/fastfetch >/dev/null 2>&1 git clone https://git.k4li.de/mirrors/fastfetch $HOME/.local/share/fastfetch >/dev/null 2>&1
# ─< execute fish to reinitialize aliases >──────────────────────────────────────────────── # ─< execute fish to reinitialize aliases >────────────────────────────────────────────────
exec fish exec fish
end end

View file

@ -1,7 +1,9 @@
# This file contains fish universal variable definitions. # This file contains fish universal variable definitions.
# VERSION: 3.0 # VERSION: 3.0
SETUVAR FISH_INSTALL:paru\x20install\x20\x2d\x2dnoconfirm
SETUVAR __fish_initialized:3400 SETUVAR __fish_initialized:3400
SETUVAR _fisher_plugins:jorgebucaran/fisher\x1ejorgebucaran/autopair\x2efish\x1epatrickf1/fzf\x2efish\x1epatrickf1/colored_man_pages\x2efish SETUVAR _fisher_plugins:jorgebucaran/fisher\x1ejorgebucaran/autopair\x2efish\x1epatrickf1/fzf\x2efish\x1epatrickf1/colored_man_pages\x2efish
SETUVAR _fisher_upgraded_to_4_4:\x1d
SETUVAR fish_color_autosuggestion:555\x1ebrblack SETUVAR fish_color_autosuggestion:555\x1ebrblack
SETUVAR fish_color_cancel:\x2dr SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:005fd7 SETUVAR fish_color_command:005fd7

View file

@ -238,6 +238,6 @@ function check_fishr
end end
# ────────────────────────────────────< setup some stuff >──────────────────────────────────── # ────────────────────────────────────< setup some stuff >────────────────────────────────────
upin #upin
dep_fisher #dep_fisher
#check_fishr #check_fishr