8000 GitHub - princebot/dotfiles: bash startup files and vim configuration
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

princebot/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

bash startup files and vim configuration

quickstart

git clone https://github.com/princebot/dotfiles
bash dotfiles/installer/install

requirements

  • macOS/OS X, Debian/Ubuntu, or Red Hat/CentOS
  • Bash 4.x

These may work in other environments without modification, but that has not been tested.

(Note for Mac users: Macs ship with an old version of Bash due to licensing issues, so use homebrew to install Bash 4.x first.)

details

The installer does the following:

  • backs up existing /.bash_profile, /.bashrc, //.bash_logout, and /.vimrc
  • copies profile to ~/.bashrc
  • hard links /.bashrc to /.bash_profile
  • copies vimrc to ~/.vimrc
  • copies dotfiles.d to ~/.dotfiles.d/

New shells will source the main configuration in /.config/dotfiles/lib/dotfiles.bash, which in turn sources every file matching /.dotfiles.d/*.*sh.

To add new configuration, create a new file in /.dotfiles.d to be sourced with all the others; for example, to add Visual Studio Code configuration, you might create a /.dotfiles.d/vscode.bash file.

TODO

  • Revise and complete README.
  • Refactor installer for new dotfiles location ~/.config/dotfiles.
  • Try out adding tests using bats

About

bash startup files and vim configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0