Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrijac/dotfiles
My dotfiles
https://github.com/andrijac/dotfiles
Last synced: about 1 month ago
JSON representation
My dotfiles
- Host: GitHub
- URL: https://github.com/andrijac/dotfiles
- Owner: andrijac
- Created: 2014-07-08T08:27:02.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-03-28T14:30:45.000Z (over 10 years ago)
- Last Synced: 2023-03-12T21:40:37.864Z (over 1 year ago)
- Size: 2.26 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
dotfiles
========These are basically for my personal use, but feel free to check them and reuse some scripts.
`bin/dotsync.sh` is the tool which handles pushing/pulling to github
Maybe the best tricks belong to .bashrc, where three functions
* Detect if GNU Screen is running in order to show an "S" on the prompt (PS1)
* Show the return value of the previous command if it is different than zero
* Show the history line if the retval is zeroI reuse these dotfiles on many machines, so there is some trickery to detect the
machine it's running on```shell
# Override the "--color=auto" which doesn't work on a Mac
require_machine fightclub && alias ls='ls -G'
```There is some good external stuff, like [j.py](https://github.com/rupa/j2) or the [git prompt](https://github.com/magicmonty/bash-git-prompt)