added linuxbrew
This commit is contained in:
parent
5e98d160a1
commit
0aee2d0243
3 changed files with 13 additions and 6 deletions
|
@ -2,25 +2,28 @@
|
||||||
dotfls="${HOME}/dotfiles"
|
dotfls="${HOME}/dotfiles"
|
||||||
dotlib="${dotfls}/lib"
|
dotlib="${dotfls}/lib"
|
||||||
dotcfg="${dotfls}/cfg"
|
dotcfg="${dotfls}/cfg"
|
||||||
|
lbrew="/home/linuxbrew/.linuxbrew"
|
||||||
|
|
||||||
# Paths
|
# Paths
|
||||||
path+=(${dotfls}/bin)
|
path+=(${dotfls}/bin)
|
||||||
path+=(${HOME}/.gem/ruby/2.4.0/bin)
|
path+=(${HOME}/.gem/ruby/2.4.0/bin)
|
||||||
path+=(${HOME}/basher/bin)
|
path+=(${HOME}/basher/bin)
|
||||||
path+=(/opt/android-sdk/build-tools/26.0.1)
|
path+=(/opt/android-sdk/build-tools/26.0.1)
|
||||||
path+=(/home/linuxbrew/.linuxbrew/bin)
|
path+=(${lbrew}/bin)
|
||||||
manpath+=(/home/linuxbrew/.linuxbrew/share/man)
|
path+=(${lbrew}/sbin)
|
||||||
infopath+=(/home/linuxbrew/.linuxbrew/share/info)
|
manpath+=(${lbrew}/share/man)
|
||||||
|
infopath+=(${lbrew}/share/info)
|
||||||
|
|
||||||
# Editor Setting
|
# Editor Setting
|
||||||
EDITOR='nano'
|
EDITOR='nano'
|
||||||
|
|
||||||
# Completions Paths
|
# Completions Paths
|
||||||
fpath+=(${dotlib}/completions/src)
|
fpath+=(${dotlib}/completions/src)
|
||||||
|
fpath+=(${lbrew}/share/zsh/site-functions)
|
||||||
fpath+=(${dotlib}/local)
|
fpath+=(${dotlib}/local)
|
||||||
|
|
||||||
# Actually export
|
# Actually export
|
||||||
export dotlib dotcfg PATH MANPATH INFOPATH EDITOR
|
export dotlib dotcfg lbrew PATH MANPATH INFOPATH EDITOR
|
||||||
|
|
||||||
# Reload all Prompts
|
# Reload all Prompts
|
||||||
autoload -U promptinit && promptinit
|
autoload -U promptinit && promptinit
|
||||||
|
|
4
cfg/zsh/cfg.d/source.d/alias-brew.zsh
Normal file
4
cfg/zsh/cfg.d/source.d/alias-brew.zsh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
alias brews='brew list -1'
|
||||||
|
alias bubo='brew update && brew outdated'
|
||||||
|
alias bubc='brew upgrade && brew cleanup'
|
||||||
|
alias bubu='bubo && bubc'
|
|
@ -1,2 +1,2 @@
|
||||||
[[ $- == *i* ]] && source "/usr/share/fzf/completion.zsh" 2> /dev/null
|
[[ $- == *i* ]] && source "/home/linuxbrew/.linuxbrew/opt/fzf/shell/completion.zsh" 2> /dev/null
|
||||||
source "/usr/share/fzf/key-bindings.zsh"
|
source "/home/linuxbrew/.linuxbrew/opt/fzf/shell/key-bindings.zsh"
|
||||||
|
|
Loading…
Add table
Reference in a new issue