Compare commits
4 commits
1ebf7ee189
...
19e1944a90
Author | SHA1 | Date | |
---|---|---|---|
19e1944a90 | |||
f094cdec07 | |||
26445dcc83 | |||
753b56d1e9 |
8 changed files with 22 additions and 34 deletions
|
@ -12,7 +12,7 @@ alias vi=vim
|
||||||
alias rr="rm -rf"
|
alias rr="rm -rf"
|
||||||
|
|
||||||
# more ways to ls
|
# more ways to ls
|
||||||
alias ls="ls --group-directories-first --color=always"
|
alias ls="${aliases[ls]:-ls} --group-directories-first --color=auto"
|
||||||
alias l='ls -lh'
|
alias l='ls -lh'
|
||||||
alias la='ls -a'
|
alias la='ls -a'
|
||||||
alias ldot='ls -ld .*'
|
alias ldot='ls -ld .*'
|
||||||
|
|
|
@ -2,24 +2,17 @@
|
||||||
# misc - Set general Zsh config options here, or change plugin settings.
|
# misc - Set general Zsh config options here, or change plugin settings.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# Options
|
# Options
|
||||||
#
|
|
||||||
|
|
||||||
# Undo options from plugins
|
# Undo options from plugins
|
||||||
setopt NO_BEEP # Be quiet!
|
setopt NO_BEEP # Be quiet!
|
||||||
setopt NO_HIST_BEEP # Be quiet!
|
setopt NO_HIST_BEEP # Be quiet!
|
||||||
|
|
||||||
#
|
# start gpg agent
|
||||||
# OMZ
|
export GPG_TTY=$(tty)
|
||||||
#
|
gpgconf --launch gpg-agent
|
||||||
MAGIC_ENTER_GIT_COMMAND="$MAGIC_ENTER_OTHER_COMMAND && git status -sb"
|
|
||||||
|
|
||||||
#
|
# OMZ
|
||||||
# Zsh-Utils
|
MAGIC_ENTER_GIT_COMMAND="$MAGIC_ENTER_OTHER_COMMAND && git status -sb"
|
||||||
#
|
|
||||||
# The belek/zsh-utils completion plugin also introduces compstyles. Let's use that!
|
|
||||||
(( ! $+functions[compstyle_zshzoo_setup] )) || compstyle_zshzoo_setup
|
|
||||||
|
|
||||||
# let make handle it's own shell completion
|
# let make handle it's own shell completion
|
||||||
zstyle ':completion::complete:make:*:targets' call-command true
|
zstyle ':completion::complete:make:*:targets' call-command true
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# utility
|
# utility
|
||||||
romkatv/zsh-bench kind:path
|
romkatv/zsh-bench kind:path
|
||||||
|
|
||||||
|
|
||||||
ohmyzsh/ohmyzsh path:lib/clipboard.zsh
|
ohmyzsh/ohmyzsh path:lib/clipboard.zsh
|
||||||
ohmyzsh/ohmyzsh path:plugins/copybuffer
|
ohmyzsh/ohmyzsh path:plugins/copybuffer
|
||||||
ohmyzsh/ohmyzsh path:plugins/copyfile
|
ohmyzsh/ohmyzsh path:plugins/copyfile
|
||||||
|
@ -11,17 +10,13 @@ ohmyzsh/ohmyzsh path:plugins/magic-enter
|
||||||
ohmyzsh/ohmyzsh path:plugins/fancy-ctrl-z
|
ohmyzsh/ohmyzsh path:plugins/fancy-ctrl-z
|
||||||
|
|
||||||
belak/zsh-utils path:history
|
belak/zsh-utils path:history
|
||||||
belak/zsh-utils path:utility
|
|
||||||
|
|
||||||
zdharma-continuum/fast-syntax-highlighting kind:defer
|
zdharma-continuum/fast-syntax-highlighting kind:defer
|
||||||
Aloxaf/fzf-tab kind:defer
|
Aloxaf/fzf-tab kind:defer
|
||||||
|
|
||||||
# zsh-users/zsh-completions path:src kind:fpath
|
|
||||||
|
|
||||||
junegunn/fzf path:shell/completion.zsh
|
junegunn/fzf path:shell/completion.zsh
|
||||||
junegunn/fzf path:shell/key-bindings.zsh
|
junegunn/fzf path:shell/key-bindings.zsh
|
||||||
|
|
||||||
# Source everything in $ZDOTDIR/rc.d prior to wrapping up.
|
# Source everything in $ZDOTDIR/rc.d prior to wrapping up.
|
||||||
mattmc3/zshrc.d
|
mattmc3/zshrc.d
|
||||||
~/.config/zsh/plugins/zexists
|
~/.config/zsh/plugins/zexists
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@ function source-zshcmdd {
|
||||||
echo >&2 "zexists: dir not found '${ZSHCMDD:-${ZDOTDIR:-$HOME}/zexists.d/cmd}'"
|
echo >&2 "zexists: dir not found '${ZSHCMDD:-${ZDOTDIR:-$HOME}/zexists.d/cmd}'"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local -a conf_files=("$zshcmdd[1]"/*.{sh,zsh}(N))
|
local -a conf_files=("$zshcmdd[1]"/*.{sh,zsh}(N))
|
||||||
local rcfile
|
local rcfile
|
||||||
local antircfile
|
local antircfile
|
||||||
|
@ -33,7 +32,6 @@ function source-zshcmdd {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
source-zshcmdd
|
|
||||||
|
|
||||||
function zshdir-decode {
|
function zshdir-decode {
|
||||||
# for now just remove the 'dir' part
|
# for now just remove the 'dir' part
|
||||||
|
@ -88,15 +86,18 @@ function source-zshpathd {
|
||||||
directory=$HOME/$(zshdir-decode ${name})
|
directory=$HOME/$(zshdir-decode ${name})
|
||||||
# source files only if exe with that name exists
|
# source files only if exe with that name exists
|
||||||
if [[ -d $directory ]]; then
|
if [[ -d $directory ]]; then
|
||||||
|
# echo "$directory"
|
||||||
source $rcfile
|
source $rcfile
|
||||||
else
|
else
|
||||||
# if it doesn't exist try the anti version
|
# TODO: antirc naming broken
|
||||||
antircfile=${rcfile:h}/anti-${pathtype}-${rcfile:t}
|
# # if it doesn't exist try the anti version
|
||||||
[[ -f $antircfile ]] && source $antircfile
|
# antircfile="${rcfile:h}/anti-${pathtype}-${rcfile:t}"
|
||||||
|
# [[ -f $antircfile ]] && source $antircfile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
source-zshpathd
|
source-zshcmdd || echo >&2 'issues loading zexists.d/cmd'
|
||||||
|
source-zshpathd || echo >&2 'issues loading zexists.d/path'
|
||||||
unset _envsubst
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
is-tty && alias lsd="lsd --icon never"
|
is-tty && alias lsd="lsd --icon never"
|
||||||
alias ls="lsd --group-directories-first --color=always"
|
alias ls="lsd"
|
||||||
alias lt='lsd --tree --depth=3'
|
alias lt='lsd --tree --depth=3'
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
#!/usr/bin/env zsh
|
|
||||||
# bun completions
|
|
||||||
[[ -s "$HOME/.bun/_bun" ]] && source "$HOME/.bun/_bun"
|
|
||||||
# bun
|
|
||||||
export BUN_INSTALL="$HOME/.bun"
|
|
||||||
path=("$BUN_INSTALL/bin" $path)
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
export DENO_INSTALL="$HOME/.deno"; \
|
export DENO_INSTALL="$HOME/.deno"
|
||||||
path=("$DENO_INSTALL/bin" $path)
|
path=("$DENO_INSTALL/bin" $path)
|
||||||
|
|
5
todo.md
Normal file
5
todo.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Dotfile Todo's
|
||||||
|
|
||||||
|
<!-- chezmoi forget --interactive ~/$(chezmoi managed | fzf) -->
|
||||||
|
|
||||||
|
- [ ] make a command to 'forget' files using fzf as selector
|
Loading…
Reference in a new issue