- Bash Aliases
- Docker Rootless
- Fzf
- Git Aliases
- Goenv
- Highlight Styles
- Mise
- Mise Activate
- Mise Completion
- Mise Shims
Defines various aliases that can be found in ~/.bashrc
by default:
alias ls='ls --color=auto'
alias dir='dir --color=auto'
alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias ll='ls -l'
alias la='ls -A'
alias lla='ls -lart'
alias l='ls -CF'
Installs docker and setup rootless installation if not already installed.
In case Docker is already installed, then a simple export of DOCKER_HOST
is made to unix:///run/user/1000/docker.sock
.
Installs fzf if not already installed. I would recommend using fzf-tab plugin with this one to setup easily fzf 😉.
Setup various git aliases, you may check the plugin file for more information.
All those aliases are made inside ~/.gitconfig
and not as shell aliases.
Setup various Go environment variables, in particular to avoid ~/go
directory.
As such GOPATH
is redirected to ~/.cache/go
alongside imports
. Of course, PATH
is updated with GOBIN
path.
As for GOLANGCI_LINT_CACHE
and GOCACHE
, those two are defined to their default values when not provided.
Removes all underline
styles from zsh-syntax-highlighting since I don't really like it.
Installs mise in case it doesn't exists and adds a personal configuration file with tools not in default registry.
This personal configuration will not be generated (or removed) if NO_MISE_CONFIG
environment variable is provided.
Since mise plugin can install mise, it must be executed before the prompt is shown.
As mise activate zsh
can add latency to shell loading, this plugin is separated from installation one to avoid getting before prompt.
This plugin can use evalcache to cache the result of eval
and gain some background time in subshell executions.
Since mise plugin can install mise, it must be executed before the prompt is shown.
As mise completion zsh
can add latency to shell loading, this plugin is separated from installation one to avoid getting before prompt.
This plugin adds to fpath
a new path completions
which is $XDG_CACHE_HOME/completions
or $HOME/.cache/zsh/completions
and then adds (only if it doesn't exist) mise completion file.
This plugin is an alternative one to mise-activate
which use shims instead of activate script.
When using this plugin, any new mise installation (a new tool) or tool removal must be followed of mise reshim
to create (or remove) its associated shim in $HOME/.local/share/mise/shims
.