Skip to content

Gathered from around the internet, these are short executables for a Linux or macOS user's ~/bin directory, too small to re-distribute separately.

Notifications You must be signed in to change notification settings

paironaut/bin-hacks

Folders and files

NameName
Last commit message
Last commit date
Mar 26, 2023
Jan 27, 2025
Nov 4, 2020
Jun 27, 2024
Nov 3, 2017
Dec 31, 2017
Jan 22, 2016
Jun 4, 2016
Jan 1, 2018
Aug 6, 2013
Mar 26, 2023
Oct 13, 2016
Jul 3, 2014
Nov 14, 2018
Aug 6, 2013
Aug 6, 2013
Jan 1, 2018
Apr 7, 2014

Repository files navigation

bin-hacks

Gathered from around the internet, these are short executables and dotfiles that a Linux user might want in their home or ~/bin directory

fix-agent.sh If you reconnect to a screen session, source fix-agent.sh to reach your ssh-agent again, for passwordless login.

prompt-vars.sh Source this to customize your shell prompt. Uses git-prompt.sh from the git distribution, to summarize the git status when you are in a git repo.

.gitignore_global If you use emacs, rvm or rbenv, you probably want git to ignore the patterns on this list in almost every project. Install like this

cd
ln -si ~/bin-hacks/.gitignore_global

Set your ~/.gitconfig to use the global ignore file , for example like this

git config --global core.excludesfile /home/david1/.gitignore_global

.bashrc Some nice things if you use bash, mostly from Debian. To install and replace your own shell startup files

cd
ln -si ~/bin-hacks/.bashrc
ln -si ~/bin-hacks/.bash_profile
ln -si ~/bin-hacks/.profile

About

Gathered from around the internet, these are short executables for a Linux or macOS user's ~/bin directory, too small to re-distribute separately.

Topics

Resources

Stars

Watchers

Forks