added hosts helper

This commit is contained in:
Nikolas Weger 2019-08-17 00:28:02 +02:00
commit c3caa55b1f
17 changed files with 1490 additions and 347 deletions

View file

@ -3,6 +3,6 @@ Host web
HostName megumi.eeleater.org
User eeleater
Host git
HostName git.eeleater.org
Host ipa
HostName 192.168.122.15
User eeleater

View file

@ -6,6 +6,7 @@ brewpr="$(/home/linuxbrew/.linuxbrew/bin/brew --prefix)"
gembin="$(ruby -e "puts Gem.user_dir")/bin"
BASHER_SHELL=zsh
BASHER_ROOT=/home/eeleater/.basher
FN_API_URL=https://faas.eeleater.org
# Path
path=(${brewpr}/sbin ${brewpr}/bin) # Homebrew
@ -45,8 +46,12 @@ fpath+=(${brewpr}/share/zsh/site-functions)
fpath+=(${dotlib}/local)
fpath+=(${BASHER_ROOT}/cellar/completions/zsh)
# IPFS
IPFS_PATH=/var/lib/ipfs/repo
VAULT_ADDR=http://127.0.0.1:8200
# Actually export
export dotlib dotcfg brewpr gembin PATH MANPATH INFOPATH EDITOR XDG_DATA_DIRS PTOOLSPATH
export dotlib dotcfg brewpr gembin PATH MANPATH INFOPATH EDITOR XDG_DATA_DIRS PTOOLSPATH IPFSPATH VAULT_ADDR FN_API_URL
# Reload all Prompts
autoload -U promptinit && promptinit

View file

@ -1,3 +1,4 @@
export ZSH="${dotlib}/ohmyzsh"
DISABLE_AUTO_UPDATE="true"
ZSH_DISABLE_COMPFIX="true"
source ${ZSH}/oh-my-zsh.sh

View file

@ -6,3 +6,5 @@ alias la='ls -lAh'
for file in ${dotcfg}/zsh/cfg.d/source.d/*.zsh; do
source $file
done
source /usr/share/lmod/lmod/init/zsh