added hosts helper
This commit is contained in:
commit
c3caa55b1f
17 changed files with 1490 additions and 347 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
export ZSH="${dotlib}/ohmyzsh"
|
||||
DISABLE_AUTO_UPDATE="true"
|
||||
ZSH_DISABLE_COMPFIX="true"
|
||||
source ${ZSH}/oh-my-zsh.sh
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue