add shared configs

This commit is contained in:
accel 2021-12-20 17:25:20 +03:00
parent c0ed84eae9
commit 6c4fc6872f
8 changed files with 29 additions and 0 deletions

1
config/cygwin.config.zsh Normal file
View File

@ -0,0 +1 @@
export GIT_CEILING_DIRECTORIES=//:/

1
config/gentoo.config.zsh Normal file
View File

@ -0,0 +1 @@
plugins+=(portage-edit)

8
config/global.config.zsh Normal file
View File

@ -0,0 +1,8 @@
zbootstrap_message zbootstrap_global "rewriting .stignore"
cat > ${globaldots_path}/.stignore <<EOF
/.git
/logs
EOF
function ifconfig.me () {
echo $(curl -s http://ifconfig.me/)
}

8
config/global.style.zsh Normal file
View File

@ -0,0 +1,8 @@
#ZSH_CUSTOM=${globaldots_path}/lib/zsh/oh-my-zsh
alias sshconfig="${EDITOR} ${HOME}/.ssh/config"
alias snano="sudo nano -w"
alias smd="sudo mkdir -p"
zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
zstyle ':completion:*:warnings' format '%BNo matches for: %d%b'

2
config/termux.config.zsh Normal file
View File

@ -0,0 +1,2 @@
MANPATH=$PREFIX/share/man
CDPATH=/storage:${HOME}/storage

View File

@ -0,0 +1 @@
path_extra+=(win64)

View File

@ -0,0 +1,5 @@
export APPDATA="$(cygpath -w ${HOME}/.appdata)"
export LOCALAPPDATA="$(cygpath -w ${HOME}/.localappdata)"
export USERPROFILE="$(cygpath -w ${HOME})"
export HOMEDRIVE="$(cygpath -w ${HOME} | sed -e 's/\\.*$//')"
export HOMEPATH="$(cygpath -w ${HOME} | sed -e 's/^.://')"

3
config/zshconfig.example Normal file
View File

@ -0,0 +1,3 @@
path_extra+=(zsh)
config_extra+=(windows)
plugins+=(zsh-navigation-tools cp tmux nyan pass emoji emoji-clock z)