cleaned up a bit

This commit is contained in:
eeleater 2022-12-15 14:30:52 +01:00
parent 4c7060e387
commit 7e33d7c962
21 changed files with 53 additions and 148 deletions

View file

@ -1,32 +0,0 @@
version = "0.6.5"
home = "/home/weger"
config_dir = "/home/weger/.config/sheldon"
data_dir = "/home/weger/.local/sheldon"
config_file = "/home/weger/.config/sheldon/plugins.toml"
lock_file = "/home/weger/.config/sheldon/plugins.lock"
clone_dir = "/home/weger/.local/sheldon/repos"
download_dir = "/home/weger/.local/sheldon/downloads"
plugins = []
[templates.PATH]
value = "export PATH=\"{{ dir }}:$PATH\""
each = false
[templates.path]
value = "path=( \"{{ dir }}\" $path )"
each = false
[templates.fpath]
value = "fpath=( \"{{ dir }}\" $fpath )"
each = false
[templates.source]
value = "source \"{{ file }}\""
each = true
[templates.defer]
value = "zsh-defer source \"{{ file }}\""
each = true
[templates.defer-more]
value = "zsh-defer -t 0.5 source \"{{ file }}\""
each = true

View file

@ -1,90 +1,76 @@
# Sheldon configuration file shell = "zsh"
#
# See https://rossmacarthur.github.io/sheldon/
[templates] [templates]
defer = { value = 'zsh-defer source "{{ file }}"', each = true } defer = "{% for file in files %}zsh-defer source \"{{ file }}\"\n{% endfor %}"
defer-more = { value = 'zsh-defer -t 0.5 source "{{ file }}"', each = true } defer-more = "{% for file in files %}zsh-defer -t 0.5 source \"{{ file }}\"\n{% endfor %}"
# Completions
# -----------
#[plugins.docker-zsh-completion] [plugins.zsh-defer]
#github = "greymd/docker-zsh-completion" github = "romkatv/zsh-defer"
#[plugins.rust-zsh-completions] # completions
#github = "ryutok/rust-zsh-completions" [plugins.zsh-completions]
github = "zsh-users/zsh-completions"
#[plugins.zsh-completions] # plugins
#github = "zsh-users/zsh-completions" [plugins.ohmyzsh-lib]
github = "ohmyzsh/ohmyzsh"
dir = "lib"
use = ["{completion,key-bindings,history,directories}.zsh"]
# Sourced [plugins.ohmyzsh-plugins]
# ------- github = "ohmyzsh/ohmyzsh"
dir = "plugins"
use = ["{systemd,fzf,command-not-found}/*.plugin.zsh"]
# The history plugin doesn't like being deferred, not sure why. [plugins.fzf-tab]
#[plugins.history] github = "Aloxaf/fzf-tab"
#github = "ohmyzsh/ohmyzsh"
#dir = "lib"
#[plugins.path] [plugins.fzf-marks]
#local = "~/.zsh/plugins" github = "urbainvaes/fzf-marks"
#[plugins.pure] [plugins.evalcache]
#github = "rossmacarthur/pure" github = "mroth/evalcache"
#use = ["{async,pure}.zsh"]
#[plugins.wd] [plugins.colorize]
#github = "mfaerevaag/wd" github = "zpm-zsh/colorize"
#apply = ["fpath", "source"]
#[plugins.zsh-defer] [plugins.ssh]
#github = "romkatv/zsh-defer" github = "zpm-zsh/ssh"
# Deferred plugins [plugins.wakatime-zsh-plugin]
# ---------------- github = "sobolevn/wakatime-zsh-plugin"
#[plugins.autoenv] [plugins.zsh-titles]
#github = "zpm-zsh/autoenv" github = "amyreese/zsh-titles"
#apply = ["defer"]
#[plugins.dotfiles] [plugins.zsh-thefuck]
#local = "~/.zsh/plugins" github = "laggardkernel/zsh-thefuck"
#use = ["*.plugin.zsh", "!{compinit,path,pyenv}.plugin.zsh"]
#apply = ["defer"]
#[plugins.ohmyzsh-lib] [plugins.oath]
#github = "ohmyzsh/ohmyzsh" github = "alexdesousa/oath"
#dir = "lib"
#use = ["{clipboard,completion,git,key-bindings,termsupport,theme-and-appearance}.zsh"]
#apply = ["defer"]
#[plugins.ohmyzsh-plugins] [plugins.zsh-exa]
#github = "ohmyzsh/ohmyzsh" github = "TwoPizza9621536/zsh-exa"
#dir = "plugins"
#use = ["{copybuffer,git,pip}/*.plugin.zsh"]
#apply = ["defer"]
#[plugins.zsh-you-should-use] [plugins.zsh-bat]
#github = "MichaelAquilina/zsh-you-should-use" github = "fdellwing/zsh-bat"
#apply = ["defer"]
#[plugins.zsh-autosuggestions] [plugins.zsh-you-should-use]
#github = "zsh-users/zsh-autosuggestions" github = "MichaelAquilina/zsh-you-should-use"
#use = ["{{ name }}.zsh"]
#apply = ["defer"]
#[plugins.zsh-syntax-highlighting] [plugins.zsh-autosuggestions]
#github = 'zsh-users/zsh-syntax-highlighting' github = "zsh-users/zsh-autosuggestions"
#apply = ["defer"] use = ["{{ name }}.zsh"]
# This works best if it is placed last. [plugins.zsh-syntax-highlighting]
#[plugins.compinit] github = "zsh-users/zsh-syntax-highlighting"
#local = "~/.zsh/plugins"
#apply = ["defer"]
# Plugins that are even more deferred # theme
# ----------------------------------- [plugins.powerlevel10k]
github = "romkatv/powerlevel10k"
#[plugins.pyenv] # own files
#local = "~/.zsh/plugins" [plugins.own-files]
#apply = ["defer-more"] local = "~/.config/zsh/"
use = ["{aliases,keybinds,distroicon,transfer}.zsh"]

View file

@ -1,41 +0,0 @@
[options]
colorscheme = "nord"
colorscheme_bg = "dark"
enable_guicolors = true
statusline_separator = "arrow"
statusline_iseparator = "arrow"
buffer_index_type = 4
enable_tabline_filetype_icon = true
enable_statusline_mode = false
[[layers]]
name = 'autocomplete'
auto_completion_return_key_behavior = "complete"
auto_completion_tab_key_behavior = "smart"
[[layers]]
name = 'shell'
default_position = 'top'
default_height = 30
[[layers]]
name = "colorscheme"
[[layers]]
name = "fzf"
[[layers]]
name = 'git'
[[layers]]
name = 'VersionControl'
[[layers]]
name = "lang#php"
[[layers]]
name = "lang#python"
[[custom_plugins]]
repo = "ap/vim-css-color"
merged = false

View file

@ -34,11 +34,6 @@ export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
export GDBHISTFILE="$XDG_CONFIG_HOME"/gdb/history export GDBHISTFILE="$XDG_CONFIG_HOME"/gdb/history
export STARSHIP_CONFIG_DIR="$XDG_CONFIG_HOME"/starship
export STARSHIP_CONFIG="$STARSHIP_CONFIG_DIR"/config.toml
export SHELDON_CONFIG_DIR="$XDG_CONFIG_HOME"/sheldon
export SHELDON_CONFIG_FILE="$SHELDON_CONFIG_DIR"/plugins.toml
export SHELDON_LOCK_FILE="$SHELDON_CONFIG_DIR"/plugins.lock
# data files # data files
export XCURSOR_PATH=/usr/share/icons:"$XDG_DATA_HOME"/icons export XCURSOR_PATH=/usr/share/icons:"$XDG_DATA_HOME"/icons
@ -47,10 +42,7 @@ export CARGO_HOME="$XDG_DATA_HOME"/cargo
export ASDF_DATA_DIR="$XDG_DATA_HOME"/asdf export ASDF_DATA_DIR="$XDG_DATA_HOME"/asdf
export NB_DIR="$XDG_DATA_HOME"/nb export NB_DIR="$XDG_DATA_HOME"/nb
export DSTASK_GIT_REPO="$XDG_DATA_HOME"/dstask export DSTASK_GIT_REPO="$XDG_DATA_HOME"/dstask
export SHELDON_DATA_DIR="$XDG_DATA_HOME"/sheldon
export WAKATIME_HOME="$XDG_DATA_HOME"/wakatime export WAKATIME_HOME="$XDG_DATA_HOME"/wakatime
export SHELDON_CLONE_DIR="$SHELDON_DATA_DIR"/repos
export SHELDON_DOWNLOAD_DIR="$SHELDON_DATA_DIR"/downloads
# gpg # gpg
#export GNUPGHOME="$XDG_DATA_HOME"/gnupg #export GNUPGHOME="$XDG_DATA_HOME"/gnupg