Commit Graph

51 Commits (master)

Author SHA1 Message Date
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
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 11aa32387e alias/general: `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
noviicee 1305a86136 Changed alias name 2022-01-03 23:43:40 +05:30
noviicee 51042c2cf0 added alias ls='ls -F' 2021-12-02 23:49:58 +05:30
John D Pell 6618457f9e aliases/general: use `_command_exists` 2021-09-19 21:58:48 -07:00
PntAndCnt e05dd4c778 Use default GREP_COLOR. 2020-05-18 22:14:17 +08:00
Nils Winkler 38bb8c087c
Reworded the text for the general/bash-it alias loading
Also fixed a ShellCheck warning.

See #1560 for more details.
2020-05-07 08:57:37 +02:00
Wabri 0b9c37f5d1 Add (alias): create a comment above the source of bash-it
To be more clear it was necessary to add a comment above source bash-it
to explain what is the pourpose of doing that.
2020-04-16 12:32:52 +02:00
Wabri 9ccee2878c Fix (aliases): source bash-it alias in general
This can let separate the bash-it alias from the system general one
2020-04-15 09:18:13 +02:00
Wabri 74f053db9d Remove (alias): bash_it alias is no more required in general
The bash_it alias are exported to the relative source, so is no more
required in the general alias.
2020-04-13 12:51:20 +02:00
NiilShon 34487076ba
Update general.aliases.bash 2019-01-23 00:29:11 +01:00
Arunvel Sriram 3adc77ab41 Set alias irc to 'irc' if IRC_CLIENT is not set 2017-12-13 10:19:04 +05:30
Rodrigo Lanza 058de1d7c9 Common misspelling for going up one directory 2017-09-13 05:56:12 +02:00
Nils Winkler be077be3f5 Merge pull request #986 from rodtreweek/patch-r
Request to add some additonal aliases that I have found useful
2017-06-29 09:22:14 +02:00
Rod Treweek 7b5c0ec6fd
Removing vigen alias 2017-06-28 15:47:28 -07:00
Rod Treweek 0e5b872512
Fixing up Vagrant and general alias files 2017-06-28 14:53:14 -07:00
David Sharp 48f04159e0 general.aliases: Run `which gshuf` in if condition
If .bashrc is sourced while `set -e` is set, and `gshuf` is not installed,
then running `which gshuf` will cause the shell to error and exit.
Running `which gshuf` during an if condition will capture the error.
2017-06-26 14:50:23 -07:00
Rod Treweek 6eada49d9d cleaning things up a bit for merge 2017-06-26 13:00:13 -07:00
Rod Treweek 1ff2dd7c59 Add stuff (#7)
* Added aliases for vagrant, bash-it, and homesick

* added aliases

* Add new feature (#6)

* alias additions

* Adding powerline-r theme

* Adding Vagrant aliases
2017-06-26 12:39:49 -07:00
Rod Treweek 15177a20d4
Add new feature (#6)
* alias additions

* Adding powerline-r theme
2017-06-26 12:07:30 -07:00
Rod Treweek b5ee4dec60
added aliases 2017-06-26 12:07:30 -07:00
Rod Treweek f873ecb948
Added aliases for vagrant, bash-it, and homesick 2017-06-26 12:07:30 -07:00
Nils Winkler 0d9a0987d9 Fixed missing quotes around $BASH_IT variable
This should fix most issues where Bash-it is installed in a directory
containing spaces.
2017-06-24 17:31:30 +02:00
con-f-use 43a63965ee Alias and complete common misspellings of bash-it 2017-03-17 20:29:02 +01:00
Nils Winkler 707f2aac93 Added check for grep color option
Closes #643 and closes #884
2017-01-09 18:13:10 +01:00
Nils Winkler c64dd0a44d Fixing `ls` alias definition
Closes #819 and closes #643
2017-01-09 18:13:10 +01:00
Nils Winkler 99bf5f09ad Moved grep alias to general aliases 2017-01-09 18:13:10 +01:00
luispcosta 7352c748de Defined section for typical programming languages aliases. Added python and ipython aliases 2015-10-28 12:33:07 +00:00
luispcosta 1f5f2e246c Fixed back general aliases 2015-10-22 11:42:40 +01:00
luispcosta a9ca1ae3fb Added new git push origin master 2015-10-22 11:30:37 +01:00
Daniel Vergeylen 0fb33e457e Added 'catt' alias, which displays file content or folder content, according to file type. 2015-08-05 11:09:14 +02:00
Greg Nofi 6f1e045d5b Fix exit code check when setting alias for gshuf. 2014-09-18 10:20:44 -04:00
Tarjei Husøy ce5bb3d6eb Fix typo in general.aliases.bash. 2013-05-01 21:33:52 +03:00
Sebastian Pauka 1d1c57265c Fixed ls alias to use --color=auto instead of --color=always. 2013-03-07 10:19:08 +11:00
Erich Smith 17aaa9ce24 add alias metadata, remove help() 2012-05-22 09:57:25 +02:00
Nils Winkler f71be20247 Changed meta info resolution to look for data based on the type, e.g. about-plugin, about-alias, about-completion. 2012-05-21 15:52:03 +02:00
Nils Winkler 1f558e2550 Extended enable/disable and describe functionality to work for aliases and completions as well. 2012-05-21 13:24:49 +02:00
Eitan Adler 3fc60b5358 Fix bogus bash binary location 2012-04-17 00:24:58 -04:00
rjorgenson f0bceecb88 added error suppression to tree alias
the $(which tree) check general.aliases would ouput an error if the
    command was not found. Added suppression of that error.
2011-11-29 23:45:25 -07:00
Mark Szymanski 70e4c1ced0 Merge branch 'master' of github.com:revans/bash-it 2011-08-12 16:31:18 -05:00
Mark Szymanski ba8fde85eb Make gshuf alias checker work on other bash versions 2011-08-12 16:30:55 -05:00
Antono Vasiljev 89da5f9cec general.aliases.bash: use native tree if [ -x ] .... 2011-08-12 04:11:16 +03:00
Mark Szymanski e964c029aa Add alias for shuf -> gshuf 2011-08-10 18:49:07 -05:00
David DeSandro 4a8e08e783 Revert "Add various aliases"
This reverts commit 3ef689f29a.
2011-06-20 16:13:59 -04:00
David DeSandro 3ef689f29a Add various aliases 2011-06-17 10:57:31 -04:00