Commit Graph

387 Commits

Author SHA1 Message Date
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
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
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