Sign inSign up

andmos/dotfiles

By andmos

•Updated over 4 years ago

My dotfiles and scripts in a can!

Image
0

559

andmos/dotfiles repository overview

⁠Dotfiles

⁠Dotfiles

I use .bash_profile on both Linux and OSX, a uname-check fixes the platformspesific values. To use .bash_profile on Linux, remember to add

if [ -f ~/.bash_profile ]; then
. ~/.bash_profile
fi

to .bashrc. My bin-equivalent is found Here⁠ and is placed in my Dropbox for easy sharing, just added to $PATH.

⁠.OSX

.osx is used on a new Mac-installation, and makes OSX usable for me. Just run:

./.osx
⁠MacPorts

Since I haven't gotten around to install Homebrew⁠ yet, I still use Macports as my goto package manager for OSX. My current installed ports are in the installedPorts-file, and I use installPorts to install them:

./installPorts

To get you're own list of installed ports use the following command:

sudo port installed | sed -e 's/([^()]*)//g' | sed s/@[^@]*$// > InstalledPorts.txt

If you find yourself doing this more than once, do as I do: script the sucker.

Remember to use the updated Macports version of Bash located in /opt/local/bin/bash -l

⁠HomeBrew

Hey! It just took some years and a new Mac, but here are some brews for HomeBrew.

Install brews from Brewfile: brew bundle

(brew bundle dump to generate Brewfile on local computer)

⁠Atom

I have started playing with Atom⁠ as my new cross platform editor. So far it looks promising. The atom folder contains my settings and extension packages. When Atom and its command line tools are installed,

atom/configureAtom

takes care of the rest.

Tag summary

Content type

Image

Digest

Size

123.1 MB

Last updated

over 4 years ago

docker pull andmos/dotfiles