Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
e549e10
psprint: Fresh version of the zshrc
psprint Jul 11, 2019
2e89b40
Dockerfile: install `telnet'
psprint Jul 11, 2019
3083da2
psprint: Solved not working zplugin completion problem – Ubuntu compinit
psprint Jul 11, 2019
888112b
Add global-compinit disabling .zshenv to all configs (for run.sh)
psprint Jul 12, 2019
4ee9efd
00dani: Add zpcompinit to atload ice of f-sy-h
psprint Jul 12, 2019
69f052f
Dockerfile: apt-get man autoconf automake
psprint Jul 13, 2019
f58e7c9
Don't install rust to make the build faster
psprint Jul 13, 2019
e3c7d61
psprint: Updates to LS_COLORS
psprint Jul 15, 2019
9358201
psprint: Update after a zshrc-parsing tool `declare-zshrc' brought order
psprint Jul 18, 2019
89ec987
NICHOLAS85: Update personal files
Aug 2, 2019
b0d9e8d
Typo fixes
NICHOLAS85 Aug 2, 2019
926499b
psprint: Add forgit, fix where-from function, disable private fsh-a-t
psprint Aug 27, 2019
a002ada
psprint: New functions: deploy-code, exchange, pngimage. Update psls
psprint Aug 27, 2019
7862e04
Dockerfile: install rust
psprint Sep 27, 2019
b40e321
Dockerfile: Fix the .zshenv append
psprint Sep 27, 2019
2138057
NICHOLAS85: Make the z function error-resilient
psprint Sep 27, 2019
9fffe9a
jubi zshrc, https://github.com/zdharma/zplugin-configs/issues/15
psprint Sep 28, 2019
75fdcad
psprint: Update to use z-a-bin-gem-node annex instead of as"command"
psprint Sep 28, 2019
d7d1109
psprint: Pass DEBIAN_FRONTEND=noninteractive to sudo
psprint Sep 28, 2019
4a01b52
psprint: Update
psprint Sep 28, 2019
82d9c55
psprint: Update
psprint Sep 28, 2019
075a294
psprint: final update
psprint Sep 28, 2019
156cd44
psprint: New update
psprint Sep 29, 2019
388a278
NICHOLAS85: Update personal files
NICHOLAS85 Sep 28, 2019
c98b3d6
NICHOLAS85: Update personal files
NICHOLAS85 Sep 28, 2019
f6c2445
NICHOLAS85: Update personal files
NICHOLAS85 Sep 28, 2019
4f41546
NICHOLAS85: Update personal files
NICHOLAS85 Oct 9, 2019
f511f05
updating .zshrc and bootstrap for jubi
jubishop Oct 17, 2019
e2deab5
NICHOLAS85: Update personal files, many changes
NICHOLAS85 Nov 11, 2019
457cd4c
psprint: update (use of the for syntax)
psprint Nov 12, 2019
7965dfd
psprint: Install nodejs
psprint Nov 12, 2019
a7b0106
psprint: Update
psprint Nov 12, 2019
490d3c8
Added ZSH dotfiles from agkozak/dotfiles
agkozak Nov 20, 2019
b318149
More vim folding markers
agkozak Nov 20, 2019
35b4d75
Zplugin → Zinit rename
psprint Jan 21, 2020
4d62e6b
Zplugin → Zinit rename
psprint Jan 21, 2020
f091408
Zplugin → Zinit rename
psprint Jan 21, 2020
3218f7f
psprint: update
psprint Jan 21, 2020
acdaab2
jubi: Make the docker image start
psprint Jan 22, 2020
51c2be9
NICHOLAS85: Zplugin -> Zinit transition and more
NICHOLAS85 Jan 22, 2020
b47a3a9
psprint: Add .p10k.zsh
psprint Jan 22, 2020
ef371a0
NICHOLAS85: Update personal files
NICHOLAS85 Mar 30, 2020
0c78856
Add brucebentley's dotfiles #26
psprint Apr 16, 2020
a60ff64
NICHOLAS85: Fix theme loading with changes @ https://github.com/zdhar…
NICHOLAS85 Apr 19, 2020
42041cc
NICHOLAS85: Update personal files w/ fixes
NICHOLAS85 May 22, 2020
79770c8
psprint: Switch the prompt
psprint Jun 19, 2020
7146d60
psprint: Update
psprint Jun 19, 2020
594131a
psprint: Update
psprint Jun 29, 2020
28bc8ff
NICHOLAS85: Fix for latest version of zinit + update config
NICHOLAS85 Jul 28, 2020
e19070e
numtostr: added numToStr/zshrc.zsh
numToStr Oct 5, 2020
536e2c8
Merge pull request #31 from numToStr/master
psprint Nov 7, 2020
49dcaf3
Update config files
NICHOLAS85 Jan 26, 2021
1823f4c
Merge pull request #33 from NICHOLAS85/NICHOLAS85up
psprint Jan 26, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 00dani/.zshenv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Skip the not really helping Ubuntu global compinit
skip_global_compinit=1
45 changes: 23 additions & 22 deletions 00dani/zshrc.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,35 @@

export XDG_CACHE_HOME=${XDG_CACHE_HOME:=~/.cache}

typeset -A ZPLGM
ZPLG_HOME=$XDG_CACHE_HOME/zsh/zplugin
ZPLGM[HOME_DIR]=$ZPLG_HOME
ZPLGM[ZCOMPDUMP_PATH]=$XDG_CACHE_HOME/zsh/zcompdump

if [[ ! -f $ZPLG_HOME/bin/zplugin.zsh ]]; then
git clone https://github.com/psprint/zplugin $ZPLG_HOME/bin
zcompile $ZPLG_HOME/bin/zplugin.zsh
typeset -A ZINIT
ZINIT_HOME=$XDG_CACHE_HOME/zsh/zinit
ZINIT[HOME_DIR]=$ZINIT_HOME
ZINIT[ZCOMPDUMP_PATH]=$XDG_CACHE_HOME/zsh/zcompdump

if [[ ! -f $ZINIT_HOME/bin/zinit.zsh ]]; then
git clone https://github.com/psprint/zinit $ZINIT_HOME/bin
zcompile $ZINIT_HOME/bin/zinit.zsh
fi
source $ZPLG_HOME/bin/zplugin.zsh
source $ZINIT_HOME/bin/zinit.zsh
load=light

zplugin $load willghatch/zsh-saneopt
zinit $load willghatch/zsh-saneopt

zplugin $load mafredri/zsh-async
zplugin $load rupa/z
zplugin $load sindresorhus/pure
zinit $load mafredri/zsh-async
zinit $load rupa/z
zinit $load sindresorhus/pure

zplugin ice nocompile:! pick:c.zsh atpull:%atclone atclone:'dircolors -b LS_COLORS > c.zsh'
zplugin $load trapd00r/LS_COLORS
zinit ice nocompile:! pick:c.zsh atpull:%atclone atclone:'dircolors -b LS_COLORS > c.zsh'
zinit $load trapd00r/LS_COLORS

zplugin ice silent wait:1 atload:_zsh_autosuggest_start
zplugin $load zsh-users/zsh-autosuggestions
zinit ice silent wait:1 atload:_zsh_autosuggest_start
zinit $load zsh-users/zsh-autosuggestions

zplugin ice blockf; zplugin $load zsh-users/zsh-completions
zinit ice blockf; zinit $load zsh-users/zsh-completions

zplugin ice silent wait:1; zplugin $load mollifier/cd-gitroot
zplugin ice silent wait:1; zplugin $load micha/resty
zplugin ice silent wait:1; zplugin $load supercrabtree/k
zinit ice silent wait:1; zinit $load mollifier/cd-gitroot
zinit ice silent wait:1; zinit $load micha/resty
zinit ice silent wait:1; zinit $load supercrabtree/k

zplugin ice silent wait!1; zplugin $load zdharma/fast-syntax-highlighting
zinit ice silent wait!1 atload"ZINIT[COMPINIT_OPTS]=-C; zpcompinit"
zinit $load zdharma/fast-syntax-highlighting
21 changes: 11 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ FROM ubuntu:18.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update && \
apt install -yq \
ncurses-dev unzip zsh git subversion curl make sudo locales \
python golang-go \
ncurses-dev man telnet unzip zsh git subversion curl make sudo locales \
autoconf automake python golang-go \
vim htop

# Set the locale
Expand All @@ -22,19 +22,19 @@ RUN adduser --disabled-password --gecos '' user && \
usermod --shell /bin/zsh user
USER user

# Install Rust language
RUN curl 'https://sh.rustup.rs' -sSf | sh -s -- -y && \
echo 'source ${HOME}/.cargo/env' > /home/user/.zshenv

# Install zplugin
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zplugin/master/doc/install.sh)"
# Install zinit
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)"

# Copy configs into home directory
ARG FOLDER
COPY --chown=user "${FOLDER}" /home/user
# Copy of a possible .zshrc named according to a non-leading-dot scheme
RUN cp -vf /home/user/zshrc.zsh /home/user/.zshrc 2>/dev/null || true

# Install Rust language
RUN curl 'https://sh.rustup.rs' -sSf | sh -s -- -y && \
echo 'source ${HOME}/.cargo/env' >> /home/user/.zshenv

# Run user's bootstrap script
RUN if [ -f /home/user/bootstrap.sh ]; then \
chmod u+x /home/user/bootstrap.sh; \
Expand All @@ -44,6 +44,7 @@ RUN if [ -f /home/user/bootstrap.sh ]; then \
# Install all plugins
ARG TERM
ENV TERM ${TERM}
RUN SHELL=/bin/zsh zsh -i -c -- '-zplg-scheduler burst || true'
RUN SHELL=/bin/zsh zsh -i -c -- 'zinit module build; @zinit-scheduler burst || true '

CMD zsh -i -l

CMD zsh
1 change: 1 addition & 0 deletions NICHOLAS85/.zinit/snippets/config/._zinit/blockf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions NICHOLAS85/.zinit/snippets/config/._zinit/depth
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3
1 change: 1 addition & 0 deletions NICHOLAS85/.zinit/snippets/config/._zinit/id-as
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
config
1 change: 1 addition & 0 deletions NICHOLAS85/.zinit/snippets/config/._zinit/light-mode
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions NICHOLAS85/.zinit/snippets/config/._zinit/lucid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions NICHOLAS85/.zinit/snippets/config/._zinit/mode
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
1 change: 1 addition & 0 deletions NICHOLAS85/.zinit/snippets/config/._zinit/svn
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions NICHOLAS85/.zinit/snippets/config/._zinit/teleid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/NICHOLAS85/dotfiles/trunk/.zinit/snippets/config
1 change: 1 addition & 0 deletions NICHOLAS85/.zinit/snippets/config/._zinit/url
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/NICHOLAS85/dotfiles/trunk/.zinit/snippets/config
1 change: 1 addition & 0 deletions NICHOLAS85/.zinit/snippets/config/._zinit/wait
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions NICHOLAS85/.zinit/snippets/config/.svn/entries
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12
1 change: 1 addition & 0 deletions NICHOLAS85/.zinit/snippets/config/.svn/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Allow dotbare to be symlinked
--- kazhala---dotbare/dotbare 2020-11-08 03:51:47.379765820 -0500
+++ kazhala---dotbare/dotbare-patch 2020-11-08 03:51:12.764122189 -0500
@@ -12,7 +12,7 @@
# option flags:
# check sub commands for available option flags

-mydir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+mydir="$(dirname -- "$(readlink -f -- "$BASH_SOURCE")")"
source "${mydir}"/helper/set_variable.sh

function usage() {
--- kazhala---dotbare/pkg/completion/zsh/_dotbare 2020-11-23 17:46:34.913377981 -0500
+++ kazhala---dotbare/pkg/completion/zsh/_dotbare.patch 2020-11-23 17:46:32.169435684 -0500
@@ -127,6 +127,9 @@
'(- : *)'{-h,--help}'[show help information]' \
&& ret=0
;;
+ *)
+ _normal
+ ;;
esac
;;
esac
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dirs=( $( { sed -e 's/:\(.*\):/\1/' $AUTOENV_AUTH_FILE } | sed 's/:.*//' |
FZF_DEFAULT_OPTS="$FORGIT_FZF_DEFAULT_OPTS -0 -m --nth 2..,..
--preview='[[ \$(file --mime {}) =~ binary ]] && echo {} is a binary file || (bat --style=numbers --color=always {}) 2> /dev/null | head -500'
$FORGIT_ADD_FZF_OPTS" fzf ) )

${dirs:+kate} $dirs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Fix autoloading with Zinit, remove cdpath hook
--- marlonrichert---zsh-edit/zsh-edit.plugin.zsh 2020-11-24 14:57:14.225191357 -0500
+++ marlonrichert---zsh-edit/zsh-edit.plugin.zsh-patch 2020-11-24 15:01:38.468808641 -0500
@@ -6,9 +6,7 @@

local fdir=${${(%):-%x}:A:h}/functions
typeset -gU FPATH fpath=( $fdir $fpath )
- autoload -Uz add-zsh-hook $fdir/*~*.zwc
-
- add-zsh-hook chpwd _cdpath
+ autoload -Uz add-zsh-hook $fdir/*~*.zwc(.:t)

local widget

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
--- michaelxmcbride---zsh-dircycle/dircycle.zsh 2020-10-14 03:42:40.565527743 -0400
+++ michaelxmcbride---zsh-dircycle/dircycle.zsh-patch 2020-10-14 03:42:32.315653673 -0400
@@ -5,20 +5,22 @@

[[ ${#dirstack} -eq 0 ]] && return

- while ! builtin pushd -q $1 &>/dev/null; do
+ while ! builtin pushd $1 &>/dev/null; do
# A missing directory was found; pop it out of the directory stack.
- builtin popd -q $1
+ builtin popd $1

# Stop trying if there are no more directories in the directory stack.
[[ ${#dirstack} -eq 0 ]] && break
done
-
+
# Trigger a prompt update if using Pure (https://github.com/sindresorhus/pure).
if typeset -f prompt_pure_setup > /dev/null; then
prompt_pure_async_tasks
prompt_pure_preprompt_render
else
- zle reset-prompt
+ _p9k_precmd
+ zle .reset-prompt
+ zle -R
fi
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Fix autoloading with Zinit, remove cdpath hook
--- marlonrichert---zsh-edit/zsh-edit.plugin.zsh 2020-11-23 16:58:49.823346698 -0500
+++ marlonrichert---zsh-edit/zsh-edit.plugin.zsh-patch 2020-11-23 16:59:08.433260361 -0500
@@ -7,9 +7,7 @@

local fdir=${${(%):-%x}:A:h}/functions
typeset -gU FPATH fpath=( $fdir $fpath )
- autoload -Uz add-zsh-hook $fdir/*
-
- add-zsh-hook chpwd cdpath
+ autoload -Uz add-zsh-hook $fdir/*(.:t)

local widget

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
setopt extendedglob local_options
autoload -Uz compinit
local zcompf="${ZINIT[ZCOMPDUMP_PATH]:-${ZDOTDIR:-$HOME}/.zcompdump}"

# use a separate file to determine when to regenerate, as compinit doesn't always need to modify the compdump
local zcompf_a="${zcompf}.augur"

if [[ -e "$zcompf_a" && -f "$zcompf_a"(#qN.md-1) ]]; then
compinit -C -d "$zcompf"
else
compinit -d "$zcompf"
touch "$zcompf_a"
fi

# if zcompdump exists (and is non-zero), and is older than the .zwc file, then regenerate
if [[ -s "$zcompf" && (! -s "${zcompf}.zwc" || "$zcompf" -nt "${zcompf}.zwc") ]]; then
# since file is mapped, it might be mapped right now (current shells), so rename it then make a new one
[[ -e "$zcompf.zwc" ]] && mv -f "$zcompf.zwc" "$zcompf.zwc.old"
# compile it mapped, so multiple shells can share it (total mem reduction)
# run in background
{ zcompile -M "$zcompf" && command rm -f "$zcompf.zwc.old" }&!
fi
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
--- kadaan---per-directory-history/per-directory-history.zsh 2020-08-24 05:35:33.232756679 -0400
+++ kadaan---per-directory-history/per-directory-history-patch 2020-08-24 05:37:48.008288237 -0400
@@ -46,7 +46,7 @@
if ! $_per_directory_history_is_global
then
fc -P
- mkdir -p ${_per_directory_history_path:h}
+ [ -d ${_per_directory_history_path:h} ] || mkdir -p ${_per_directory_history_path:h}
fc -p $_per_directory_history_path
fi
}
@@ -73,7 +73,7 @@
local fn
if $_per_directory_history_is_global
then
- mkdir -p ${_per_directory_history_path:h}
+ [ -d ${_per_directory_history_path:h} ] || mkdir -p ${_per_directory_history_path:h}
fn=$_per_directory_history_path
else
fn=$_per_directory_history_main_histfile
@@ -96,7 +96,7 @@
function _per-directory-history-set-directory-history() {
fc -P

- mkdir -p ${_per_directory_history_path:h}
+ [ -d ${_per_directory_history_path:h} ] || mkdir -p ${_per_directory_history_path:h}
fc -p $_per_directory_history_path
_per_directory_history_is_global=false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fc -ln 0 | awk '{print $1}' | sort | uniq -c | sort -nr | head
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- "zinit-zsh---z-a-bin-gem-node/\342\206\222za-bgn-atdelete-handler" 2020-11-08 17:51:29.893155968 -0500
+++ "zinit-zsh---z-a-bin-gem-node/\342\206\222za-bgn-atdelete-handler-patch" 2020-11-08 17:51:25.881202480 -0500
@@ -14,14 +14,14 @@
# sbin'' ice – creation of shims (the name borrowed from rbenv)
#

-if (( ${+ICE[sbin]} )) {
+if (( ${+ICE2[sbin]} )) {
local -a sbins srcdst
- sbins=( ${(s.;.)ICE[sbin]} )
+ sbins=( ${(s.;.)ICE2[sbin]} )

local sbin
integer set_gem_home set_node_path

- (
+ (
builtin cd -q "$dir"
for sbin ( $sbins "" ) {
if [[ -z $sbin && ${#sbins} -eq 0 ]]; then
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
if $_per_directory_history_is_global; then
p10k segment -i ''
else
p10k segment -i '📍'
fi

Loading