Compare commits
2 Commits
25b2a4478a
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 70dd5613b2 | |||
| 2718b03ab7 |
@@ -2,6 +2,6 @@
|
|||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
# macOS spezifisch
|
# macOS spezifisch
|
||||||
alias nrf-env="export PATH='/opt/nordic/ncs/toolchains/322ac893fe/bin:\$PATH'"
|
alias nrf-env="export PATH='/opt/nordic/ncs/toolchains/322ac893fe/bin:\$PATH'"
|
||||||
# git alias ist nötig, da unter Sequoia sonst git auf lokale server nicht mehr funktioniert
|
# git alias ist nötig, da unter Sequoia sonst git http auf lokale server nicht mehr funktioniert
|
||||||
alias git="/usr/bin/git"
|
# alias git="/usr/bin/git"
|
||||||
fi
|
fi
|
||||||
|
|||||||
7
zsh_func_d/editor_micro.zsh
Normal file
7
zsh_func_d/editor_micro.zsh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
if (( $+commands[micro] )); then
|
||||||
|
alias nano="micro"
|
||||||
|
alias vi="micro"
|
||||||
|
alias vim="micro"
|
||||||
|
export EDITOR="micro"
|
||||||
|
export VISUAL="micro"
|
||||||
|
fi
|
||||||
13
zsh_func_d/git_alias.zsh
Normal file
13
zsh_func_d/git_alias.zsh
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
if [ -x "$(command -v git)" ]; then
|
||||||
|
alias gs="git status -sb"
|
||||||
|
alias gss="eza --long --header --git --icons"
|
||||||
|
alias gl="git log --oneline --graph --decorate"
|
||||||
|
alias gp="git push"
|
||||||
|
alias gpf="git push --force-with-lease" # Die sichere Variante von force
|
||||||
|
alias glp="git pull"
|
||||||
|
alias gd="git diff"
|
||||||
|
alias gc="git commit -v"
|
||||||
|
alias gca="git commit -v -a"
|
||||||
|
alias gtoday="git log --since='00:00:00' --all-match --format='%C(bold blue)%as%Creset %C(yellow)%h%Creset %s'"
|
||||||
|
alias glol="git log --graph --pretty=format:'%C(yellow)%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user