Questions tagged [bash-it]

Bash-it is a collection of community bash commands and scripts.

Bash-it is a collection of community bash commands and scripts. (And a shameless ripoff of oh-my-zsh. :)

Includes autocompletion, themes, aliases, custom functions, a few stolen pieces from Steve Losh, and more.

Bash it provides a solid framework for using, developing and maintaining shell scripts and custom commands for your daily work. If you're using the Bourne Again Shell (Bash) on a regular basis and have been looking for an easy way on how to keep all of these nice little scripts and aliases under control, then Bash it is for you! Stop polluting your ~/bin directory and your .bashrc file, fork/clone Bash it and start hacking away.

11 questions
17
votes
3 answers

switch branch in git by partial name

If I have the following branches in git 1194-qa-server master remotes/origin/1178-authentication remotes/origin/1194-qa-server remotes/origin/HEAD -> origin/master remotes/origin/master I want to switch to a branch using --just-- the number, even…
Ram on Rails
  • 1,299
  • 11
  • 25
5
votes
0 answers

Homesick with bash-it as submodule

I'm using Homesick to maintain my dotfiles on Github. In addition to this, I'm also using the fabulous bash-it for general bash functionality and plugins. My dotfile configuration is kept in one Github repo as a homesick castle, while my bash-it…
nwinkler
  • 52,665
  • 21
  • 154
  • 168
4
votes
3 answers

How can I show colored hostname on the prompt in Powerline-Plain [Bash-it] theme?

I would like to show hostname at the beginning of the prompt in Powerline-Plain [Bash-it] theme. Something like: MYHOSTNAME root /var/www This is the default looks: and I'd like to assign to it a different random and fixed color for each different…
KaMZaTa
  • 535
  • 2
  • 9
  • 24
4
votes
3 answers

How to uninstall Bash-it?

I'm not quite ready for Bash-it and would like to go back to the original CLI. Any advice on how to remove Bash-it would be awesome. Thank you. Edit: Would love to know why I'm getting down voted so I don't make the same mistake twice.
Waymond
  • 239
  • 2
  • 5
  • 21
3
votes
1 answer

what does {1} mean in |master {1} ✓| with bashit?

I have a git bash shell extension defined it shows |master {1} ✓| what does the {1} mean? |master {1} ✓| → git status On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean What does the {1} mean in…
ams
  • 60,316
  • 68
  • 200
  • 288
2
votes
0 answers

RVM not changing ruby version on cd (with bash-it)

I've installed bash-it recently and I noticed it broken RVM. When I enter a project directory, the ruby version is not changed (not matter if I use .rvmrc or .ruby-version). However, when I enter a project directory and then open a new tab/window in…
mrzasa
  • 22,895
  • 11
  • 56
  • 94
1
vote
1 answer

What's the issue in my "adduser" from another file bash script

I am asked to add some users with all their info (password , id ,group id ...) present in a given file. Whenever I run my bash "gedit" script , it gives me a message that the "useradd command not found". If anyone could help me please , this is my…
Daher Roy
  • 19
  • 6
1
vote
1 answer

Some bash variables are being overwritten

I am using bash-it in my Mac OSX terminal. However, lately i have been having problems related to the EDITOR and GIT_EDITOR variables. In a custom bash file i set those variables clearly via: # Make Sublime the default editor export…
AhmadAssaf
  • 3,556
  • 5
  • 31
  • 42
0
votes
1 answer

bash-it with powerline prompt theme: What's the meaning of {1} next to the git branch name?

I'm using bash-it with powerline prompt theme. I noticed {1} next to the Git branch name. What does it mean?
Kibeom Kim
  • 471
  • 1
  • 5
  • 12
-1
votes
1 answer

How can I install iterm2 bash-it themes?

The instructions aren't too newbie friendly. At least not for me. Here is the github repo for bash-it: https://github.com/Bash-it/bash-it I was able to clone the repo and run it. Immediately once I close then reopen iterm I get the following…
sjmartin
  • 3,912
  • 4
  • 19
  • 32
-1
votes
2 answers

Why mkdir error in installing bash-it under Windows7 MSYS

I clone the repo https://github.com/revans/bash-it.git and installed it successfully under linux, but met trouble when I tried to install it under Windows7 MSYS. In the install.sh: function load_all() { file_type=$1 [ ! -d…
xdan
  • 653
  • 1
  • 8
  • 17