Fix not loading extra zsh files
This commit is contained in:
parent
2b55b7cb69
commit
0b0dbed47a
7 changed files with 30 additions and 69 deletions
|
|
@ -56,7 +56,6 @@ return {
|
||||||
graph_style = "unicode",
|
graph_style = "unicode",
|
||||||
kind = "tab",
|
kind = "tab",
|
||||||
ignored_settings = {
|
ignored_settings = {
|
||||||
"NeogitPushPopup--force-with-lease",
|
|
||||||
"NeogitPushPopup--force",
|
"NeogitPushPopup--force",
|
||||||
"NeogitPullPopup--rebase",
|
"NeogitPullPopup--rebase",
|
||||||
"NeogitCommitPopup--allow-empty",
|
"NeogitCommitPopup--allow-empty",
|
||||||
|
|
|
||||||
|
|
@ -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'
|
|
||||||
|
|
@ -1,2 +1 @@
|
||||||
alias \
|
alias fzf-fp='fzf-flatpak-install-widget'
|
||||||
fzf-fp='fzf-flatpak-install-widget';
|
|
||||||
|
|
|
||||||
|
|
@ -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'
|
|
||||||
|
|
@ -1,24 +1,22 @@
|
||||||
alias \
|
alias \
|
||||||
vi='nvim' \
|
vi='nvim' \
|
||||||
vi-astro='NVIM_APPNAME=Distro-AstroNvim nvim' \
|
vi-astro='NVIM_APPNAME=Distro-AstroNvim nvim' \
|
||||||
vi-lazy='NVIM_APPNAME=LazyVim nvim'
|
vi-lazy='NVIM_APPNAME=LazyVim nvim'
|
||||||
|
|
||||||
vis() {
|
vis() {
|
||||||
items=(
|
items=(
|
||||||
default
|
default
|
||||||
AstroNvim
|
AstroNvim
|
||||||
LazyVim
|
LazyVim
|
||||||
)
|
)
|
||||||
config=$(printf "%s\n" "${items[@]}" | fzf --prompt=" Neovim Config " --height=~50% --layout=reverse --border --exit-0)
|
config=$(printf "%s\n" "${items[@]}" | fzf --prompt=" Neovim Config " --height=~50% --layout=reverse --border --exit-0)
|
||||||
|
|
||||||
if [[ -z $config ]]; then
|
if [[ -z $config ]]; then
|
||||||
echo "Nothing selected"
|
echo "Nothing selected"
|
||||||
return 0
|
return 0
|
||||||
elif [[ $config == "default" ]]; then
|
elif [[ $config == "default" ]]; then
|
||||||
config=""
|
config=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
NVIM_APPNAME=$config nvim $@
|
NVIM_APPNAME=$config nvim $@
|
||||||
}
|
}
|
||||||
|
|
||||||
bindkey -s ^a "vis\n"
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
alias \
|
|
||||||
sb-list='ostree remote refs fedora | grep "[0-9]\{2\}\/x86_64\/[a-z]\+$"'
|
|
||||||
|
|
@ -115,12 +115,24 @@ zstyle ':completion:*' menu no
|
||||||
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
|
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
|
||||||
zstyle ':fzf-tab:complete:__zoxide_z:*' 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 other files │
|
||||||
# ╰──────────────────────────────────────────────────────────╯
|
# ╰──────────────────────────────────────────────────────────╯
|
||||||
source $HOME/.config/zsh/**/*.zsh
|
|
||||||
source $HOME/.config/fzf/fzfrc
|
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 │
|
# │ Init external programs │
|
||||||
# ╰──────────────────────────────────────────────────────────╯
|
# ╰──────────────────────────────────────────────────────────╯
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue