mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 04:46:41 +00:00
Make gnu-getopt be specific to UAC00013
This commit is contained in:
5
Brewfile
5
Brewfile
@@ -27,7 +27,6 @@ brew 'git'
|
||||
brew 'git-crypt'
|
||||
brew 'git-standup'
|
||||
brew 'global', args: ['with-ctags', 'with-pygments']
|
||||
brew 'gnu-getopt'
|
||||
brew 'go'
|
||||
brew 'htop'
|
||||
brew 'httpie'
|
||||
@@ -250,4 +249,8 @@ if hostname == 'noct'
|
||||
mas 'feedly', id: 865_500_966
|
||||
end
|
||||
|
||||
if hostname == 'UAC00013'
|
||||
brew 'gnu-getopt'
|
||||
end
|
||||
|
||||
# rubocop:enable Naming/FileName
|
||||
|
||||
7
zsh/gnu-getopt.zsh
Normal file
7
zsh/gnu-getopt.zsh
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# Use gnu-getopt if it's available
|
||||
#
|
||||
|
||||
if [ -f "/usr/local/opt/gnu-getopt/bin/getopt" ]; then
|
||||
path_prepend "/usr/local/opt/gnu-getopt/bin"
|
||||
fi
|
||||
@@ -110,9 +110,10 @@ source "$DOTZSH/linux.zsh"
|
||||
# Utils
|
||||
source "$DOTZSH/emacs.zsh"
|
||||
source "$DOTZSH/git.zsh"
|
||||
source "$DOTZSH/gnu-getopt.zsh"
|
||||
source "$DOTZSH/homebrew.zsh"
|
||||
source "$DOTZSH/tmux.zsh"
|
||||
source "$DOTZSH/less.zsh"
|
||||
source "$DOTZSH/tmux.zsh"
|
||||
|
||||
# Development
|
||||
source "$DOTZSH/android-sdk.zsh"
|
||||
|
||||
Reference in New Issue
Block a user