Commit Graph

345 Commits (c87dbb2d4108c8faece487cce6f267c7fbfa41bc)

Author SHA1 Message Date
Noah Gorny 2e52d2a77c
Merge pull request #2109 from tbhaxor/feature/terraform-alias
Add terraform init alias
2022-12-06 00:15:40 +02:00
Peter Bittner f0941e9ba2 Add more aliases for `git branch`, use long form
Git can list local branches, remote branches, and both of them together.
Let's use the long form of the options to make the aliases quicker to understand.

As agreed in PR #2159, we introduce gbl and replace gba/gbr by gbla/gblr.
gbl/gbla/gblr allow wildcard arguments for filtering branch names.
2022-12-05 11:01:57 +01:00
cornfeedhobo 5f59cb5438
remove function wrapper around kubectl alias registration 2022-10-31 08:08:10 -05:00
Peter Bittner 3294df5d3e
Verbose version of `git add` (gav) 2022-08-26 07:04:07 +02:00
Thomas Merz 129340d24d
Issue 2151 🛂 do not give users a root shell by executing arbitrary shell commands by 'vim'
also by removing 'sudo' aliases because bash-it should not be
              the business of mucking about with sudo at all
2022-08-11 17:22:57 +02:00
Noah Gorny a481ff41ab general: Add default nano editor for the edit alias 2022-03-14 11:20:40 +02:00
Gurkirat Singh f2b4d82527 feature (alias): add open brave browser 2022-03-06 12:00:23 +05:30
Gurkirat Singh 6ba527ff98 feature (alias): add terraform init alias 2022-03-06 11:41:27 +05:30
Noah Gorny 187916d903
Merge pull request #2047 from gaelicWizard/alias/shfmt
Aliases: lint the entire folder
2022-02-16 22:47:36 +02:00
John D Pell 12a734cb49 aliases/general: use single quotes as much as possible 2022-02-14 15:40:56 -08:00
John D Pell 27bfc966ac aliases: add shellcheck headers 2022-02-14 15:40:56 -08:00
John D Pell 604e5c5040 alias/todo.txt-cli: `shellcheck` 2022-02-14 15:40:56 -08:00
John D Pell 665d9e96a8 alias/osx: `shellcheck` 2022-02-14 15:40:56 -08:00
John D Pell 8d30275b8a alias/msys2: `shellcheck` 2022-02-14 15:40:56 -08:00
John D Pell ea6cb6afec alias/laravel: `shellcheck` 2022-02-14 15:40:56 -08:00
John D Pell 826916be4f alias/homesick: `shellcheck`
Alsö, remove impossible alias. If someone wants it, they can write the function, but since aliases literally don't work this way it seems obvious that nobody has ever used it.
2022-02-14 15:40:56 -08:00
John D Pell 11aa32387e alias/general: `shellcheck` 2022-02-14 15:40:56 -08:00
John D Pell 5748aa20a7 alias/docker: `shellcheck` 2022-02-14 15:40:56 -08:00
John D Pell 7c2c2a5525 aliases: run `shfmt` on the whole folder
My apologies to future `git blame` hunters ♥
2022-02-14 15:40:56 -08:00
Gurkirat Singh 70dbda053b
Remove redundant aliases for clear screen 2022-02-08 14:49:43 +05:30
Noah Gorny b846c86dbb
Merge pull request #1991 from noviicee/issue-1206
Added alias ls='ls -F'
2022-01-07 09:10:44 +02:00
noviicee 1305a86136 Changed alias name 2022-01-03 23:43:40 +05:30
Ron Green 559cde151b
feat(git): make auto squashing non-interactive 2021-12-22 18:49:39 +02:00
noviicee 51042c2cf0 added alias ls='ls -F' 2021-12-02 23:49:58 +05:30
Noah Gorny 447c89aa0e
Merge pull request #1981 from william-richard/make-default-branch-match-exactly-main
Look for branches that are literally the word main
2021-11-16 20:09:22 +02:00
William Richard 2a23598873
Make the regex looking for the main branch match the entire line 2021-11-15 12:19:05 -05:00
William Richard daaab1b73d
Use \s instead of \b
\b matches things like - and _, which is often used in branch names
2021-10-25 11:55:26 -04:00
William Richard 98bd0ae149
Use `/b` to find the default branch, instead of start/end of line 2021-10-25 11:35:19 -04:00
William Richard a14d9cb6ea
Look for branches that are literally the word main
I have a repo with many other branches that contain the string `main`,
but our default branch is still master.  This grep was seeing those other branches
and deciding that my default branch was `main`.  This tighter regex
fixes that behavior for me.
2021-10-22 11:19:21 -04:00
John D Pell 6e2e945771 aliases/vim: simplify code flow 2021-09-22 13:21:16 -07:00
John D Pell 0ad1af8306 aliases/apt: use `_command_exists` 2021-09-19 21:58:48 -07:00
John D Pell 88d66bbfca aliases/curl: use `_command_exists` 2021-09-19 21:58:48 -07:00
John D Pell 6618457f9e aliases/general: use `_command_exists` 2021-09-19 21:58:48 -07:00
John D Pell 757a5bf25b aliases/vim: use `_command_exists` 2021-09-19 21:58:48 -07:00
Ron Green d4ebba174c
feat(git): add git unpushed alias (#1897)
* feat(git): add git unpushed alias
2021-06-23 15:02:04 +03:00
Zhengnan Zhao 0f3e4dc8be
Have git check out main branch if present (#1886)
Create function to get default git branch, and use main branch if present
2021-06-23 13:26:48 +03:00
Artem Kovalov 905abd37f8
add --no-start to up command 2021-04-03 13:15:04 +02:00
Linton Fisher 0b808b17f1
Fix spelling mistake 2021-03-30 00:57:13 +01:00
Matthew Adams 96586dd575 add alias nt="npm test" 2021-03-09 14:14:19 -06:00
Gurkirat Singh 5c6306deb7
alias (improvement): continue rebase after conflict resolve 2021-03-09 02:24:12 +05:30
ddaza e289549a50
fix alias quotes 2021-02-25 19:45:59 -06:00
Artem Kovalov 9d7738d14d Improved systemd aliases
Refactor naming
Add restart
2021-02-25 00:01:38 +02:00
Tobias Månsson 0ed6f045f6
Remove deprecated kubectl run --generator
It now defaults to pod, so the --generator option is not required.
2021-02-15 07:41:39 +01:00
Noah Gorny d2ab59fef8 Disable keep-padding option in shfmt
Has some serious bugs and not really needed
Also fixed all files that need to be changed after this
2021-01-21 22:08:45 +02:00
Noah Gorny 988e966df3
Merge pull request #1773 from tbhaxor/feature/clipboard-copy
added alias for xclip command
2021-01-16 13:27:05 +02:00
Noah Gorny 610980dd23 git: aliases: Move glsu to glsum in ls-files and add glsut 2021-01-13 21:19:55 +02:00
Gurkirat Singh 957cd578f7 Added git alias to list only conflicted files 2021-01-13 19:08:41 +02:00
Noah Gorny 70fa3f8d25 aliases: clipboard: Remove command_exists check 2021-01-13 18:43:04 +02:00
Noah Gorny da662d1332 aliases: clipboard: Add shellcheck header 2021-01-13 18:30:32 +02:00
Gurkirat Singh 9f66059f52 aliases: clipboard: Add more aliases for xclip command
Also lint and cleanup the file
2021-01-13 18:29:57 +02:00