Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 07:28
    nwinkler commented #1481
  • 07:28

    nwinkler on master

    Port of Oh My Zsh's Bira theme Merge pull request #1481 from 1… (compare)

  • 07:28
    nwinkler closed #1481
  • 07:27
    nwinkler commented #1480
  • 07:27

    nwinkler on master

    fix ramses, mairan, and agnoste… looks like agnoster uses spaces… Merge pull request #1480 from s… (compare)

  • 07:27
    nwinkler closed #1480
  • Jan 24 22:26
    1pav opened #1481
  • Jan 24 15:07
    scottmmjackson opened #1480
  • Jan 23 07:38
    nwinkler commented on b5f666d
  • Jan 23 07:36

    nwinkler on master

    Fix macOS sed in SSH completion… (compare)

  • Jan 23 07:33
    nwinkler commented #1479
  • Jan 23 07:32

    nwinkler on master

    Make zork theme not choke on st… Merge pull request #1479 from s… (compare)

  • Jan 23 07:32
    nwinkler closed #1479
  • Jan 22 21:44
    scottmmjackson opened #1479
  • Jan 22 16:08
    urbany commented on b5f666d
  • Jan 22 10:56
    damienmascre commented on b5f666d
  • Jan 22 09:55
    damienmascre commented on b5f666d
  • Jan 22 09:44
    urbany commented on b5f666d
  • Jan 17 07:46
    nwinkler commented #1478
  • Jan 17 00:38
    kirk86 commented #1478
Vijay
@VQuery
image.png
in terminal
image.png
How can we stop run shell script application execution automatically once launched jnlp in automator ?
Michael
@g4m3rm1k3
maybe an exit at the end of the command?
Vijay
@VQuery
@g4m3rm1k3 exit not working
Now i am using crontab but its not launching jnlp file properly ! :worried:
Michy Amrane
@mIcHyAmRaNe
hello, i just installed bash-it, but i feel it's too long to load when we open new tab in terminal
3 seconds :(
Michy Amrane
@mIcHyAmRaNe
i have only: alias-completion base fasd git node & python plugins enabled
apt general git npm & yarn aliases enabled
bash-it bundler git npm pip pip3 system completion enabled
Troy Hinckley
@CeleritasCelery
Is it faster with no add-ons enabled?
Michy Amrane
@mIcHyAmRaNe
little bit
Troy Hinckley
@CeleritasCelery
And is it as fast as you want if you don’t load bash-it in your rc file?
youngKook
@cyg02032015
屏幕快照 2018-02-28 上午10.32.41.png
How can i setting it with shell
aaaa.png
codervs
@codervs
Hi! Can someone help me simulate user input in bash script.
without using expect or sshpass... I want to write a script to login to server
I also don't want to use ssh keys
John Nolette
@neetjn
Hey guys
I just finished a clean install of deepin (distro based on ubuntu), and I'm running into a strange issue
My environment variables from /etc/environment aren't being picked up in sudo
John Nolette
@neetjn
oops
'env_reset'
Roy Mor
@Kashio
Hey I'm trying to find all words pair in a file using grep with perl's lookahead assertion but it doesn't work, any suggestions?:
cat words.txt | grep -P -o '([[:alnum:]]\+)[[:space:]]\+(?=([[:alnum:]]\+))'
Ricardo Lima
@riclima
Hi, is there a way to preview all the bash-it themes?
Troy Hinckley
@CeleritasCelery
You can easily preview the themes in your own shell using BASH_PREVIEW=true reload
Ricardo Lima
@riclima
@CeleritasCelery nice, that was what I was looking for. Cheers!
Ricardo Lima
@riclima
Is it possible to set Bash-it to update based on a different branch other than master?
I'm using my fork as the remote, and I'd like to keep master on track with upstream master, and instead make my copies to track my dev branch
Peter Bittner
@bittner
Maybe this has been asked a million times before (I apologize!) ...
Is there a command provided by Bash-it to list all short Git aliases? - My approach is this: (works, but not particularly short and easy to memorize)
$ alias | grep "'git " | sed -E "s/^alias ([a-zA-Z]*)='git .*$/\\1/" | xargs
Peter Bittner
@bittner
bash-it show aliases git (understandably) doesn't give the output I would have expected.
Nils Winkler
@nwinkler
@bittner You can use bash-it help aliases git to list all of the Git aliases. bash-it show shows what is enabled/disabled...
There's no short command that does what you want, no. Why don't you define a custom function for yours? You could provide a parameter for your search term (git in your case)... If you provide a PR that adds this function (e.g. find-aliases) to the base plugin, I'd be more than happy to merge this into Bash-it.
@riclima Sorry for the late reply... For your question on bash-it update: By default, it pulls from origin - so if your local clone is pointing to your own fork as origin, that should work automatically. If not, you can set the BASH_IT_REMOTE variable in your shell and it will pull from that instead. Using your fork as origin is probably easier, though - that's how I use it as well.
Peter Bittner
@bittner
Wow, bash-it help aliases git -- that's it! Awesome, thank you!
Is this documented somewhere? We should add this if it's not. It helps beginners and occasional users of the short commands.
Nils Winkler
@nwinkler
The general Bash-it readme has a list of the commands (including help), but it does not go into any detail :worried: I always wanted to move more documentation to the Wiki, but haven't had the time for that yet... So many other things to do.
Ghost
@ghost~581ee415d73408ce4f33f634
Hello everyone. I had a quick question. Is a feature like autosuggestion which zsh and fish have technically possibly to be built for bash-it as a plugin or does it exist?
Nils Winkler
@nwinkler
There has been a discussion on this over here: Bash-it/bash-it#894
Ghost
@ghost~581ee415d73408ce4f33f634
thanks
Muse Mekuria
@s-u-m-e
Hey folks, I have a script that needs to be passed a private key (as text). What's a safe way to call it?
it is not a long running program btw
chrisvacc
@chrisvacc
hey guys
Grisha Prokopiv
@callifornia

Hi guys,
i run a script like: FOO_ENV_VARIABLE=int /usr/local/script.sh
and my script looks like:

termination(){
   echo "Foo terminating...."
   kill $pid
   wait "$pid"
}

trap 'termination' INT

exec foo.java.application.MainClass &
pid=$!
wait $restorePID

and the goal is to execute 'termination' function and wait until proccess with pid end when Ctrl+C pressed,
and only then close executing
It works when i run that script like a: bash foo.script and then press Ctrl+C it works, i see echo "Foo terminating" in console.
but when i run that script as: FOO_ENV_VARIABLE=int /usr/local/script.sh it does not works, i do not see echo "Foo terminating"

Could some please what should be changed in that script to make it works with a FOO_ENV_VARIABLE=int /usr/local/script.sh

Abdulbadii
@abdaan_syakuro_twitter
@neetjn works only on integer value.
Abdulbadii
@abdaan_syakuro_twitter
Good news! Get your files organized by rename it in batch process. download or copy-paste: https://github.com/abdulbadii/rename_batch_emulated_PCRE
abdulbadii
@abdulbadii
How to program Bash command history completion to be assigned to any certain key on keyboard? So the request:
UP key must complete the current typed command to be whole command line that has been done and exist in comman history.
Kamil Ko
@k0chan
Hello, it is possible to search word from the end in the manual?
Scott Dillon
@scottdillon_gitlab
you can use / + search term to find it in the man page. Then use n or shift + n to search forwards/backwards.