diralias + some other random bs

This commit is contained in:
2025-08-26 12:48:42 +02:00
parent 0e9b0a56d7
commit 20068552e8
7 changed files with 11 additions and 3 deletions

1
.gitignore_global Normal file
View File

@ -0,0 +1 @@
.aliases

3
.gitmodules vendored
View File

@ -13,3 +13,6 @@
[submodule ".config/tmux/plugins/tmux"] [submodule ".config/tmux/plugins/tmux"]
path = .config/tmux/plugins/tmux path = .config/tmux/plugins/tmux
url = https://github.com/catppuccin/tmux url = https://github.com/catppuccin/tmux
[submodule "tools/diralias"]
path = tools/diralias
url = https://git.simonis.lol/projects/diralias.git

View File

@ -8,3 +8,4 @@ alias.d
scripts scripts
gitconfig.d gitconfig.d
ssh-gen ssh-gen
tools

6
.zshrc
View File

@ -86,7 +86,7 @@ HIST_STAMPS="dd.mm.yyyy"
# Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=(zsh-autosuggestions z aliases sudo tmux) plugins=(zsh-autosuggestions aliases sudo tmux)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
@ -127,7 +127,7 @@ for file in $DOTFILES_INSTALL_DIR/alias.d/*; do
source $file source $file
done done
eval "$(direnv hook zsh)" source $DOTFILES_INSTALL_DIR/tools/diralias/diralias.zsh
if command -v ng >/dev/null; then if command -v ng >/dev/null; then
# Load Angular CLI autocompletion if ng command is available. # Load Angular CLI autocompletion if ng command is available.
@ -149,7 +149,7 @@ export NVM_DIR="$HOME/.nvm"
. "$HOME/.atuin/bin/env" . "$HOME/.atuin/bin/env"
eval "$(atuin init zsh)" eval "$(atuin init zsh)"
eval "$(zoxide init zsh)"
#SESSION_NAME="main #SESSION_NAME="main
# #
#if [ -t 1 ] && [ -n "$PS1" ] && [ -z "$TMUX" ]; then #if [ -t 1 ] && [ -n "$PS1" ] && [ -z "$TMUX" ]; then

View File

@ -3,6 +3,7 @@ alias ll='ls -lah'
alias cat='batcat' alias cat='batcat'
alias sl='sl -e' alias sl='sl -e'
alias claude='~/.claude/local/claude' alias claude='~/.claude/local/claude'
alias python='python3'
if [ ! $UID -eq 0 ]; then if [ ! $UID -eq 0 ]; then
alias apt='sudo apt' alias apt='sudo apt'
alias apt-get='sudo apt-get' alias apt-get='sudo apt-get'

View File

@ -4,5 +4,6 @@
autoSetupRemote = true autoSetupRemote = true
[core] [core]
autocrlf = false autocrlf = false
excludesfile = ~/.gitignore_global
[pull] [pull]
rebase = true rebase = true

1
tools/diralias Submodule

Submodule tools/diralias added at 49046569bd