addet dev environment
This commit is contained in:
parent
367ac1a0f5
commit
363ba43bcc
3 changed files with 7 additions and 9 deletions
10
config.fish
10
config.fish
|
@ -10,7 +10,7 @@ end
|
|||
# ╰───────────────────────────────────────────────────╯
|
||||
|
||||
# ────────────────────────────────────────< sources >──────────────────────────────────────
|
||||
source $HOME/.config/fish/init/*.fish
|
||||
# source $HOME/.config/fish/init/setup.fish
|
||||
|
||||
# ─────────────────────────────────< Environment-Variables >───────────────────────────────
|
||||
set -p EDITOR (which nvim)
|
||||
|
@ -45,10 +45,6 @@ else
|
|||
end
|
||||
end
|
||||
end
|
||||
# ─< set alias for clearl >─────────────────────────────────────────────────────────────────
|
||||
if alias l >/dev/null 2>&1
|
||||
alias clearl="command clear && l"
|
||||
end
|
||||
|
||||
# ─< colored everything >───────────────────────────────────────────────────────────────────
|
||||
alias ip="ip --color=always"
|
||||
|
@ -110,7 +106,7 @@ if command -v git >/dev/null 2>&1
|
|||
alias gc="git clone --recurse-submodule"
|
||||
alias ga="git add"
|
||||
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 gpu="git push --recurse-submodule=on-demand"
|
||||
end
|
||||
|
@ -127,7 +123,7 @@ if command -v fastfetch >/dev/null 2>&1
|
|||
alias f="fastfetch --config os"
|
||||
# ─< unsuccessful, cloning repo >──────────────────────────────────────────────────────────
|
||||
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 >────────────────────────────────────────────────
|
||||
exec fish
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue