-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
platform specific things, mac stuff, python stuff
- Loading branch information
Ed Rooth
committed
Mar 5, 2017
1 parent
4fd2018
commit ad566bb
Showing
7 changed files
with
101 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,3 @@ | |
export CLICOLOR=1 | ||
export LSCOLORS=dxfxcxdxbxegedabagacad | ||
export TERM=xterm-256color | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# utility functions used in various scripts | ||
|
||
# detect platform and configure platform specific settings | ||
platform='unknown' | ||
unamestr=$(uname) | ||
if [[ "$unamestr" == 'Linux' ]]; then | ||
platform='linux' | ||
elif [[ "$unamestr" == 'Darwin' ]]; then | ||
platform='darwin' | ||
source ~/.bash_mac_stuff | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
let g:netrw_dirhistmax =10 | ||
let g:netrw_dirhist_cnt =2 | ||
let g:netrw_dirhist_1='/Users/ed/dotfiles' | ||
let g:netrw_dirhist_2='/Users/ed/dotfiles/bash' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash -e | ||
|
||
unamestr=$(uname) | ||
if [[ "$unamestr" == 'Linux' ]]; then | ||
./setup-fedora.sh | ||
elif [[ "$unamestr" == 'Darwin' ]]; then | ||
./setup-mac.sh | ||
fi |