new tab. If you use `export HISTIGNORE=' *'` in your shell, this will
ensure that commands starting with a space will not be included in the
history. Since the command sent to the new tab by the `tab` command
probably shouldn't show up in the history, I added a leading space
character.
I'm not sure if the 256-color alias introduced in this file is needed.
Not enabled by default but I kept it around because I needed it at some
point in the past...
Signed-off-by: Michael Turquette <mturquette@deferred.io>
New alias for quickly using git filter-branch to add my SoB to a set of
patches. Use like so:
git-sign-off HEAD~3..HEAD
Signed-off-by: Michael Turquette <mturquette@deferred.io>
zzz.aliases.bash introduced a difference alias for 'c', related to
copying Linux kernel binaries to the SD card.
Signed-off-by: Michael Turquette <mturquette@deferred.io>
zdev is just a name that starts with 'z' (for parsing at the end) and
'dev' just means that these aliases have to do with development.
Signed-off-by: Michael Turquette <mturquette@deferred.io>
square is a mix of the existing 'minimal' and 'standard' themes without
any unicode characters that might fail to render in some terminal
emulators.
Signed-off-by: Michael Turquette <mturquette@deferred.io>
It is often desirable to inspect the contents of an archive before
unpacking it. Add a new function, preview-extract, which does this.
preview-extract is a copy-paste of extract(), but the tar commands have
parameter 'x' replaced with 't' to print the pathes of any files in the
archive.
The non-tar lines have been commented out since I rarely use those and
don't know the equivalent parameters off hand. Hopefully a kind soul
will add those in.
Signed-off-by: Michael Turquette <mturquette@deferred.io>
The case block in git.aliases.bash does the right thing for vim users
that do not populate $EDITOR. However vim users that populate $EDITOR
are met with the following error:
$ gd
Vim: Warning: Input is not from a terminal
Vim: Error reading input, exiting...
Vim: preserving files...
Vim: Finished.
Fix this inconsistency by adding another case block in the else block
which handles passing the appropriate arguments to vim.
Signed-off-by: Michael Turquette <mturquette@deferred.io>