File: bash.actual

package info (click to toggle)
golang-github-alecthomas-chroma 0.8.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,332 kB
  • sloc: python: 228; javascript: 79; makefile: 20
file content (49 lines) | stat: -rw-r--r-- 883 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Install fish

brew install fish

# Add fish to your list of available shells

echo "/usr/local/bin/fish/" | sudo tee -a /etc/shells

# Make fish the defaul shell

chsh -s /usr/local/bin/fish

# Restart the terminal to load fish shell


# Code snippet from https://github.com/gmarik/gist.sh/blob/master/gist.sh
gist_clone ()
{
    if [ "$_PRIVATE" = "1" ]; then
        URL="git@gist.github.com:$1.git"
    else
        URL="git://gist.github.com/$1.git"
    fi

    log "* cloning Gist from $URL"

    CMD="git clone $URL gist-$1"

    if [ "$_DEBUG" = "1" ]; then
        echo $CMD
        exit 0
    fi

    $CMD
}

# Code snippet from https://gist.github.com/thejefflarson/885812
tiger_em () {
    directory=$WD/$1
    shift
    until [ -z "$1" ] 
    do
        get_em $directory "ftp://ftp2.census.gov/geo/tiger/TIGER2010/"$1
        shift
    done
}

# bare comment marker
#