Tags: bash*

0 bookmark(s) - Sort by: Date / Title ↓ /

  1. - This GitHub Gist provides instructions and scripts to enable true color (24-bit color) in Emacs for iTerm2.
    - A bash function is defined to run subsequent Emacs calls with 24-bit color.
    - An additional script is included to add a terminfo entry for a new terminal "xterm-24bit".
    - The scripts ensure that 24-bit color is used only when it will work, both inside and outside of tmux.
    2024-02-02 Tags: , , , , , by klotz
  2. ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'
    2013-01-03 Tags: by klotz
  3. #!/bin/bash
    {
    sleep 5m
    kill $$
    } &

    while true
    do
    date
    sleep 1
    done

    or

    timeout 5m bash script.sh
    2020-12-23 Tags: , by klotz
  4. Installing bash-completion with Homebrew
    To install bash-completion, you have to:

    brew install bash-completion
    And add the following to your ~/.bash_profile:

    if -f $(brew --prefix)/etc/bash_completion » ; then
    . $(brew --prefix)/etc/bash_completion
    fi
    2020-02-11 Tags: , , by klotz
  5. 2024-01-06 Tags: , , by klotz

Top of the page

First / Previous / Next / Last / Page 2 of 0 SemanticScuttle - klotz.me: tagged with "bash"

About - Propulsed by SemanticScuttle