Skip to content

Commit

Permalink
Add list of additional software to install
Browse files Browse the repository at this point in the history
A list of software/apps that I like to install on a new machine.

Display the list of additional software when the `-l` or `--list` option
is passed with the `dotfile` command.
  • Loading branch information
necolas committed Dec 26, 2012
1 parent 9dc7ab1 commit 879bff0
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
8 changes: 8 additions & 0 deletions bin/dotfiles
Expand Up @@ -19,6 +19,7 @@ fi
cd ${DOTFILES_DIRECTORY}

source ./lib/help
source ./lib/list
source ./lib/utils
source ./lib/brew
source ./lib/npm
Expand All @@ -29,6 +30,13 @@ if [[ "$1" == "-h" || "$1" == "--help" ]]; then
exit
fi

# List additional software to install
if [[ "$1" == "-l" || "$1" == "--list" ]]; then
run_list
exit
fi


# Test for known flags
for opt in $@
do
Expand Down
2 changes: 1 addition & 1 deletion lib/help
Expand Up @@ -15,7 +15,7 @@ Options:
Documentation can be found at https://github.com/necolas/dotfiles/
Copyright (c) Nicolas Gallagher
Licensed under the MIT license."
Licensed under the MIT license.
EOT

}
37 changes: 37 additions & 0 deletions lib/list
@@ -0,0 +1,37 @@
#!/bin/bash

run_list() {

cat <<EOT
OS X dotfiles - Nicolas Gallagher - http://nicolasgallagher.com/
Additional software to install
Browsers:
Firefox
Google Chrome
Opera
Development:
Filezilla
iTerm 2
ImageAlpha
ImageOptim
VirtualBox
XAMPP
Other:
Alfred
Divvy
Dropbox
Flux
KeePassX
LimeChat
Network Connect
Skype
uTorrent
VLC
EOT

}

0 comments on commit 879bff0

Please sign in to comment.