4e505c23c6
aliases: replace cdt alias with function
...
This adds an optional argument to `cdt` to allow specifying the
temporary directory prefix instead of the default `tmp`. This also
shortens the random character string from 10 (GNU mktemp) to 8.
Signed-off-by: Joe Groocock <me@frebib.net>
2021-05-25 11:01:14 +00:00
92c8dbc019
aliases: consistently quote ls/directory aliases
...
Consistency is key.
Signed-off-by: Joe Groocock <me@frebib.net>
2021-05-25 11:00:48 +00:00
315f6b6b9a
aliases: remove unused global aliases
...
I used to use these occasionally, but now I increasingly find myself
typing the commands out in full. They really don't save much time at
all.
Signed-off-by: Joe Groocock <me@frebib.net>
2021-05-25 10:59:34 +00:00
c1903f5726
aliases: remove ssh pseudo-tty override
...
Sometimes SSH needs to be called without a pty as it breaks some
non-interactive workflows, such as `docker save | ssh .. docker load`.
Signed-off-by: Joe Groocock <me@frebib.net>
2021-05-25 09:59:40 +00:00
24dfc13c3f
git: log/show dates in ISO8601 in UTC
...
Consistency is key. Timezones are the devil.
Signed-off-by: Joe Groocock <me@frebib.net>
2021-05-25 09:58:32 +00:00
d5668f82fe
aliases: add gfrb for 'git fetch && git rebase'
...
Signed-off-by: Joe Groocock <me@frebib.net>
2021-04-29 11:32:18 +01:00
4607175b94
aliases: add grbi for 'git rebase -i'
...
Signed-off-by: Joe Groocock <me@frebib.net>
2021-04-29 11:30:35 +01:00
ff9feca14c
aliases: replace dklrm with drmf
...
Recently I learnt that `docker rm -f` both stops and removes the
container in one go, without any races. It's much cleaner than the hack
from before so replace it outright.
Signed-off-by: Joe Groocock <me@frebib.net>
2021-02-13 14:46:19 +00:00
00f7814f8e
git: add missing git am/cherry-pick aliases
...
These are shorthands for continue and abort with both git am and
cherry-pick.
Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-24 11:30:19 +00:00
3b78319653
aliases: limit dlg to last 1000 lines
...
This prevents the sometimes lengthy waits whilst Docker spools months or
years of container logs into the shell scrollback, shortly to be
discarded. It's rare that more than the most 1000 recent lines will be
required, and those should probably use more specific cli invocations.
Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-04 15:38:34 +00:00
9316d74027
aliases: fix 'dotfiles' and 'aliases' alias
...
After moving dotfiles around, these aliases became out of sync.
Dynamically detect the path of the 'aliases' file, and set 'dotfiles' to
use the XDG config directory.
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 15:59:45 +01:00
7b8191b737
aliases: add alert/silence alertmanager/amtool shorthands
...
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 09:30:48 +01:00
49b5924f14
aliases: use grv for git-revert
...
git revert is a more common/useful command than git remote -v
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 09:28:30 +01:00
e7b3c5e3e0
aliases: remove unused screenfetch/neofetch aliases
...
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 21:32:24 +01:00
eddb464053
aliases: remove z=zsh alias as z conflicts
...
Conflicts with `z` the shell command for jumping to frecent directories
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 21:32:06 +01:00
561582734e
polybar: use 'polybar-msg cmd restart' to reload
...
This is technically more of a restart than a reload, but it's the
closest thing without actually restarting the main pid.
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 21:30:40 +01:00
1f6518193e
aliases: force editor with gcm alias
...
This always opens the editor after writing a commit message for final
tweaking before committing
Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-14 21:08:54 +01:00
308eff050e
aliases: signoff with git-commit aliases
...
Remove gcmst as it is almost never used
Signed-off-by: Joe Groocock <me@frebib.net>
2020-05-30 00:22:27 +01:00
5d55a2eeba
aliases: add gcp alias for cherry-pick
2020-03-28 15:23:35 +00:00
4a646b6573
aliases: scp is always recursive
...
This should be the default >.<
2020-03-22 12:46:26 +00:00
37ad234319
aliases: add ginit alias
2020-03-22 12:46:07 +00:00
757bd4c26d
systemd: launch i3 and user programs with systemd
2020-03-21 21:29:21 +00:00
d96ffc16ff
aliases: add gdni/gbl. use --keep with gundo
2020-03-21 21:29:11 +00:00
2598df0f17
aliases: make git-log/git-show aliases consistent
...
Show patches and stats in appropriate places
2020-03-21 21:29:11 +00:00
00a83da619
aliases: add grb* and gtg git aliases
2019-12-14 22:16:49 +00:00
3bb6de1dd9
aliases: set date when amending a commit
2019-10-10 14:05:30 +01:00
8f969737ed
aliases: show full message/stat in gd/gsh/glg
2019-09-15 11:30:00 +01:00
8287acf3a7
aliases: add daddrs function
2019-09-10 10:19:18 +01:00
2050b1a5b7
aliases: add polybarc to edit & reload polybar
2019-04-24 10:49:01 +01:00
6c19740e21
aliases: add grbom and gpoH
2019-04-08 14:14:18 +01:00
8b838aa771
aliases: remove -E from sudo alias
...
-E isn't compatible with -i and it doesn't seem to do a lot anyway
2019-04-08 14:14:00 +01:00
a11dac4d00
aliases: add dnets alias
2019-03-08 22:30:37 +00:00
18208e2362
aliases: improve dps/dpsa
...
Revert dmc to function instead of alias so it actually works
2019-03-03 13:33:15 +00:00
b4e3cdeff3
aliases: add ipa & addrs
2019-01-19 13:14:05 +00:00
ed9d50d68e
aliases: re-columnate zl output to remove big space
2018-12-14 15:58:45 +00:00
e8a3b91052
aliases: make bash compatible
...
Not POSIX sh compatible due to dsh() using bash arrays
2018-11-20 15:35:05 +00:00
ef4e16fe5b
aliases: add gau/gaN git-add shortcuts
2018-11-20 15:07:07 +00:00
acf3e57c74
aliases: replace pacaur with yay
2018-11-06 18:44:14 +00:00
cfe95eb879
aliases: inline one-line function aliases
2018-10-31 21:51:52 +00:00
c03170a4ef
aliases: use default viewer for PDFs
2018-10-31 21:50:09 +00:00
01abda43c3
aliases: fix env alias for interactive use
2018-10-31 17:26:36 +00:00
1894a6f965
aliases: disable calc globbing *yay*
2018-10-31 17:24:37 +00:00
990b9ffb30
aliases: mcd accepts paths with spaces
...
Even though heathens put spaces in file/directory names
2018-10-31 17:22:17 +00:00
2c3d0edc28
aliases: add zl='zfs list' alias w/ completion
2018-10-30 20:23:48 +00:00
6e7f2f1074
aliases: add gcn override
2018-10-30 20:23:11 +00:00
eb88ac1c04
aliases: override wget hsts-file path
2018-10-01 16:27:26 +01:00
38f0f8ccec
aliases: move ls alias to group
2018-10-01 16:26:55 +01:00
580b9e33b5
aliases: fix dsh exec arguments
2018-08-21 17:31:21 +01:00
650ff6e0c1
aliases: fix dsh/drsh usage/error bugs
2018-08-21 13:34:43 +01:00
5d3eb76075
aliases: split alpine-sdk and add more aliases
2018-07-30 09:31:18 +01:00