Commit Graph

205 Commits (a35fd2cea03d2a906c19072aca458fdca344e0b4)

Author SHA1 Message Date
nirenjan a35fd2cea0 Split prompt into two lines
Prior to this change, we were setting PS1 manually and having to muck
with the \[, \] pairs for terminal escapes was proving to be too much.
Instead, we moved to using a function used in PROMPT_COMMAND which
displays the user, hostname and directory on one line, followed by the
actual prompt line which displays the git status.
2018-09-27 14:50:21 -07:00
nirenjan 46214fd02f Add GPG agent configuration
This change forces the SSH agent to use the GPG agent for the
authorization keys. This is used in order to use a smartcard as the
identity for SSH authentication.
2018-09-27 13:58:45 -07:00
nirenjan 09b20d3a0a Update smartwd to be compatible with Python 3
Prior to this change, running smartwd in a virtualenv with Python 3 gave
a syntax error due to the script treating `print` as a keyword, rather
than a function.

This change fixes the print to work as a function, and also cleans up
some of the comments and code to better comply with PEP8
2018-09-27 13:48:57 -07:00
nirenjan 65fb291da3 Add Git commit template
This configures Git to use a standard commit template, in order to make
it easier to write better commit messages.

This commit adds a default template, and configures Git to use it as the
default. It also modifies the install script to install the default
template at ~/.git-commit-template. Finally, this adds an extra check to
reapply the committed Git configuration to the global Git config.
2018-09-05 15:01:26 -07:00
nirenjan d2f9c5cdc7 Add simulation of hub clone
I don't want to get a full hub install, not yet anyway.
2018-05-03 14:09:28 -07:00
nirenjan 50d31b6c7e Add script to update GitHub remotes to use the URL aliases 2018-05-03 13:49:24 -07:00
nirenjan 7e4b71c044 Add 'scripts/' from commit '0e3760e65e20817dab6c03efee9ef545c80eed69'
git-subtree-dir: scripts
git-subtree-mainline: 2c08462a0f
git-subtree-split: 0e3760e65e
2018-04-28 10:19:41 -07:00
nirenjan 2c08462a0f Remove submodules - replace with subtree 2018-04-28 10:19:28 -07:00
nirenjan f9c4879b74 Add default tmux terminal to dircolors 2018-04-27 15:17:30 -07:00
nirenjan b0d1e83e88 Install git config before initializing submodules 2018-04-26 22:25:34 -07:00
nirenjan 172633dd5f Add URL aliases in gitconfig 2018-04-26 22:20:37 -07:00
nirenjan 0e3760e65e Add newsh script 2016-10-03 13:03:29 -07:00
nirenjan 89a016625d Move tmux alias after work alias
The old order was causing tmux to be called with the TERM environment
variable twice, along with the -2 -u arguments being repeated.
2016-10-03 12:12:47 -07:00
nirenjan cdfe4b49cc Add git alias for short status 2016-10-03 12:10:55 -07:00
nirenjan 543cb025ef Update scripts to use new python smartwd 2016-03-26 13:18:36 -07:00
nirenjan a1dbe3c5d0 Replace smartwd with python equivalent 2016-03-26 13:17:11 -07:00
nirenjan be914d0f33 Remove beep script from installation 2015-12-29 21:26:36 -08:00
nirenjan aadc695adc Use standard name for dircolors file 2015-10-25 10:22:44 -07:00
nirenjan 213924ce37 Update scripts submodule 2015-06-26 15:00:13 -07:00
nirenjan dd6a3182f8 mkcscope: Add option to create a blank config file 2015-06-26 14:59:41 -07:00
nirenjan 3cbf9d40cf Add padding to tmux status-left
This fixes the formatting issue in tmux 2.0.
2015-06-26 14:45:16 -07:00
nirenjan 0081ee9d81 Update scripts submodule 2015-06-26 14:45:10 -07:00
nirenjan 1245674adc Add mkcscope script 2015-06-26 14:40:35 -07:00
nirenjan a5071c6285 Move Bash startup files to separate folder
Make it easier to add new configuration to Bash by adding a .bash file
to ~/.bashrc.d/. This file will be executed on startup.
2015-04-18 19:53:11 -07:00
nirenjan 6aa4ac66b4 Remove unused scripts from installer 2015-04-13 14:15:18 -07:00
nirenjan 516777e446 Fix comment 2015-03-10 11:00:38 -07:00
nirenjan 64ee88e277 Revert to using 256color mode
It turns out that when tmux was launched with the TERM set to xterm, it
was causing tmux colors to go out of whack. This imports the original
setting from my previous environment which sets the tmux alias to launch
with the TERM set to screen-256color-bce
2015-02-27 10:43:48 -08:00
nirenjan 01434fff9d Fix Git username and email setting on a new install 2015-02-26 17:54:11 -08:00
nirenjan 228b93ad13 Move tmux aliases into shared config
Instead of spending all my time trying to configure the terminal and
shell, I added these aliases here, so they get propagated to all
systems.
2015-02-26 17:47:37 -08:00
nirenjan 57a8dba6ba Make tmux use xterm-16color
xterm-256color has issues with solarized in Vim
2015-02-25 18:11:52 -08:00
nirenjan e333aac538 Update scripts submodule 2015-02-25 12:09:49 -08:00
nirenjan 5ff851cb6d Fix beep script to use bash instead of sh 2015-02-25 12:08:14 -08:00
nirenjan 45542e702b install: Fix link to git prompt script
GitHub changed the domain for raw data, causing the old link to fail.
2015-01-16 18:53:30 -08:00
nirenjan 745e6b6b46 Move Vim files to separate repo
This removes the Vim plugins from the dotfiles repo, and updates the
vimrc and install scripts accordingly, since the vimfiles repo now uses
Git submodules to keep the plugins in sync.
2014-12-24 17:15:31 -08:00
nirenjan 34e2aa2593 Update scripts subproject 2014-09-24 22:54:05 -07:00
nirenjan 2241fdc657 Update README to reflect new scripts 2014-09-24 22:52:51 -07:00
nirenjan 46d993cdd9 Import scripts from dotfiles repository 2014-09-24 22:52:51 -07:00
nirenjan 73e53323da Add backup script to copy folder contents
Folder contents can be either tarred and gzipped or saved to a git
repository. The default configuration is to use git and tags every time
the backup is made, even if there were no commits.
2014-09-24 22:52:50 -07:00
nirenjan b076b2ed23 Add comment identifying source for mkiso 2014-09-24 22:52:50 -07:00
nirenjan 330c8e5a7e Create README.md 2014-09-24 22:52:50 -07:00
nirenjan 5c5354fa91 Add mkiso script
mkiso converts an image into ISO/Joliet compatible format suitable for
burning onto a CD/DVD and having it cross-compatible with Win/OSX/*NIX
2014-09-24 22:52:50 -07:00
nirenjan 0cc59f9dc8 Ignore no python warning in UltiSnips plugin
Sometimes, the system Vim opens which doesn't have python support
enabled. This change prevents UltiSnips from displaying an error message
on startup.
2014-07-17 14:12:06 -07:00
nirenjan b7bce73a39 Add relativenumber to vimrc 2014-07-16 19:43:32 -07:00
nirenjan 2d87f15a70 Update install script to initialize submodules 2014-05-26 09:38:28 -07:00
nirenjan 9f75a8b596 Move scripts to submodule 2014-05-26 09:31:23 -07:00
nirenjan 1afa6ba95b Add NERDTree settings 2014-05-22 10:30:21 -07:00
nirenjan 684b06ed67 Add NERDTree plugin and UltiSnips settings file 2014-05-21 18:43:06 -07:00
nirenjan d1d5ce5ea3 Switch from snipMate to UltiSnips 2014-05-20 20:08:07 -07:00
nirenjan 5150fa0893 Add Unicode switch to launch tmux from alias 2014-03-18 22:04:23 -07:00
nirenjan 30d5fabf2b Add vim-bufferline to install list
Also add associated settings file to configure vim-bufferline
2014-03-17 22:37:19 -07:00