Fix not loading extra zsh files

This commit is contained in:
Alexander Navarro 2024-05-25 19:33:08 -04:00
parent 2b55b7cb69
commit 0b0dbed47a
7 changed files with 30 additions and 69 deletions

View file

@ -56,7 +56,6 @@ return {
graph_style = "unicode",
kind = "tab",
ignored_settings = {
"NeogitPushPopup--force-with-lease",
"NeogitPushPopup--force",
"NeogitPullPopup--rebase",
"NeogitCommitPopup--allow-empty",

View file

@ -1,26 +0,0 @@
if [[ "$OSTYPE" != 'linux-gnu' ]]; then
return
fi
# Auto-generated aliases for Flatpak applications
alias pikabackup='flatpak run org.gnome.World.PikaBackup'
alias gdmsettings='flatpak run io.github.realmazharhussain.GdmSettings'
alias detwinner='flatpak run com.neatdecisions.Detwinner'
alias czkawka='flatpak run com.github.qarmin.czkawka'
alias signal='flatpak run org.signal.Signal'
alias librewolf-community='flatpak run io.gitlab.librewolf-community'
alias studio='flatpak run io.beekeeperstudio.Studio'
alias client='flatpak run com.spotify.Client'
alias slack='flatpak run com.slack.Slack'
alias browser='flatpak run com.brave.Browser'
alias syncthingtk='flatpak run me.kozec.syncthingtk'
alias amberol='flatpak run io.bassi.Amberol'
alias celeste='flatpak run com.hunterwittenborn.Celeste'
alias flatseal='flatpak run com.github.tchx84.Flatseal'
alias megasync='flatpak run nz.mega.MEGAsync'
alias guiscrcpy='flatpak run in.srev.guiscrcpy'
alias kid3='flatpak run org.kde.kid3'
alias jellyfin-media-player='flatpak run com.github.iwalton3.jellyfin-media-player'
alias junction='flatpak run re.sonny.Junction'
alias ncspot='flatpak run io.github.hrkfdn.ncspot -c ~/.config/ncspot/config.toml'

View file

@ -1,2 +1 @@
alias \
fzf-fp='fzf-flatpak-install-widget';
alias fzf-fp='fzf-flatpak-install-widget'

View file

@ -1,19 +0,0 @@
alias \
glf='git log -p --' \
gs='git status' \
ga='git add' \
gp='git push' \
gpo='git push origin' \
gtd='git tag --delete' \
gtdr='git tag --delete origin' \
gr='git branch -r' \
gplo='git pull origin' \
gb='git branch ' \
gc='git commit' \
gd='git diff' \
gco='git checkout ' \
gl='git log' \
gr='git remote' \
grs='git remote show' \
glo='git log --pretty="oneline"' \
glol='git log --graph --oneline --decorate'

View file

@ -20,5 +20,3 @@ vis() {
NVIM_APPNAME=$config nvim $@
}
bindkey -s ^a "vis\n"

View file

@ -1,2 +0,0 @@
alias \
sb-list='ostree remote refs fedora | grep "[0-9]\{2\}\/x86_64\/[a-z]\+$"'

View file

@ -115,12 +115,24 @@ zstyle ':completion:*' menu no
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath'
# ╭──────────────────────────────────────────────────────────╮
# │ ZSH Options │
# ╰──────────────────────────────────────────────────────────╯
setopt EXTENDED_GLOB
setopt DOT_GLOB
setopt GLOB_DOTS
# ╭──────────────────────────────────────────────────────────╮
# │ Source other files │
# ╰──────────────────────────────────────────────────────────╯
source $HOME/.config/zsh/**/*.zsh
source $HOME/.config/fzf/fzfrc
# this prevents errors and not loading some files
for file in $HOME/.config/zsh/**/*.zsh; do
source $file
done
# ╭──────────────────────────────────────────────────────────╮
# │ Init external programs │
# ╰──────────────────────────────────────────────────────────╯