1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 20:40:32 +01:00

Add a plugin to ensure I use aliases.

This commit is contained in:
2020-01-22 08:52:43 +01:00
parent b10b8a0571
commit ef3808bcc1
3 changed files with 9 additions and 1 deletions

3
.gitmodules vendored
View File

@@ -37,3 +37,6 @@
[submodule "zsh/.config/zsh/plugins/zsh-autosuggestions"] [submodule "zsh/.config/zsh/plugins/zsh-autosuggestions"]
path = zsh/.config/zsh/plugins/zsh-autosuggestions path = zsh/.config/zsh/plugins/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions/ url = https://github.com/zsh-users/zsh-autosuggestions/
[submodule "zsh/.config/zsh/plugins/zsh-you-should-use"]
path = zsh/.config/zsh/plugins/zsh-you-should-use
url = https://github.com/MichaelAquilina/zsh-you-should-use.git

View File

@@ -42,7 +42,10 @@ unset keyfile
################ ################
# Load plugins # # Load plugins #
################ ################
plugins=(zsh-autosuggestions/zsh-autosuggestions.zsh) plugins=(
zsh-autosuggestions/zsh-autosuggestions.zsh
zsh-you-should-use/you-should-use.plugin.zsh
)
for plugin in "${plugins[@]}"; do for plugin in "${plugins[@]}"; do
if [[ -f "$ZDOTDIR/plugins/$plugin" ]]; then if [[ -f "$ZDOTDIR/plugins/$plugin" ]]; then
@@ -70,6 +73,7 @@ alias userctl='systemctl --user'
alias :q='exit' alias :q='exit'
alias wget="wget --hsts-file=\"$XDG_CACHE_HOME/wget-hsts\"" alias wget="wget --hsts-file=\"$XDG_CACHE_HOME/wget-hsts\""
alias makej="make -j$(nproc)" alias makej="make -j$(nproc)"
alias sdc='sudo docker-compose'
if (( $+commands[thefuck] )) if (( $+commands[thefuck] ))
then then