Commit Graph

374 Commits (48a1ff7fb47f04ebc3b26f3fcfda79b21f858eea)

Author SHA1 Message Date
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
Noah Gorny dd4e410a32 aliases: git: Add shellcheck header 2021-01-13 18:24:53 +02:00
Noah Gorny 8723fc56b2 aliases: git: Sort all commands, even miniscule ones 2021-01-13 18:24:16 +02:00
Ron Green 436381de93 refactor(aliases): sort git aliases file and lint it
- move all comments to the same line so they wont be jumbled
- also add to clean_files.txt
2021-01-13 18:24:13 +02:00
Noah Gorny 342ddcfca0 Add dnf.aliases.bash to clean_files.txt 2021-01-09 19:03:44 +02:00
zuck007 73d28f0b27 removing redundant lines 2021-01-09 19:03:17 +02:00
zuck007 f18562279c dnf aliases for fedora_22+ distros 2021-01-09 19:03:17 +02:00
zuck007 2ae03668c4 added dnf aliases for fedora distro 2021-01-09 19:03:17 +02:00
zuck007 91f63c0b68 adding dnf aliases for fedora distro 2021-01-09 19:03:17 +02:00
David Farrell e932d8371f
Add hooks to check .sh and .bash headers - Fixes #1491 (#1765)
* Add hooks to check .sh and .bash headers
* Adds hooks/ to clean_files.txt
2021-01-09 18:02:26 +02:00
Noah Gorny 1d4b325ce9
Merge pull request #1734 from georgettica/patch-2
feat(vim-alias): add full screen help
2020-12-28 21:39:43 +02:00
Ron Green d6e2b04708 fix(vim-aliases): join '$VIM' statements 2020-12-28 10:58:09 +02:00
Ron Green e94b9420ac
fix(vim-aliases): make alias dependant on envvar 2020-12-27 18:05:11 +02:00
Ron Green d74cc615be feat(lint): lint vim.aliases 2020-12-23 10:19:06 +02:00
Ron Green 5eb023cf51
Update vim.aliases.bash 2020-12-15 22:46:47 +02:00
Ron Green 4dfd8bcc42
feat(git-aliases): add checkout with username (fixes #1712) (#1732)
* feat(git-aliases): add checkout with username

this can be useful for creating a branch with a common prefix

* fix(git-alais): change quotes
2020-12-13 22:58:01 +02:00
Ron Green a1760af43b
feat(vim-alias): add full screen help 2020-12-12 12:51:16 +02:00
Noah Gorny 18365035a9
Merge pull request #162 from willybarro/449d6d4fe1d969a5d60ae71db1440221304dfa48
Add aliases for GIT-SVN (rebase and dcommit)
2020-12-07 02:00:31 +02:00
Noah Gorny 1f5d9b757f Fix newline and trailing space issues 2020-10-29 19:57:14 +02:00
Ira Abramov 3a1283dad5 Fix EOF 2020-10-29 19:57:14 +02:00
Ira Abramov c42e3e8b21 Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
Noah Gorny 313abebbb0 git: Add git push --delete alias 2020-10-27 20:06:37 +02:00
Gurkirat Singh fff5439242
added git alias to list remote branch creators with date and time 2020-10-16 02:25:42 +05:30
Noah Gorny 21995df6bf
Merge pull request #1675 from szczad/add-terra-aliases
Add Terraform and Terragrunt aliases
2020-10-15 11:31:48 +03:00
Grzegorz Szczudlik beb3b06e3f Add Terraform and Terragrunt aliases 2020-10-14 17:40:29 +02:00