Skip to content

Instantly share code, notes, and snippets.

@lurepheonix
Last active January 27, 2023 13:40
Show Gist options
  • Select an option

  • Save lurepheonix/38f5b0c6488b4fef65abeac80652a8eb to your computer and use it in GitHub Desktop.

Select an option

Save lurepheonix/38f5b0c6488b4fef65abeac80652a8eb to your computer and use it in GitHub Desktop.

Revisions

  1. lurepheonix revised this gist Dec 4, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion init.sh
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ sudo usermod -aG docker USERNAME

    # increase watcher limit
    echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
    sudo systctl -p
    sudo sysctl -p

    # Re-login
    exit
  2. lurepheonix revised this gist Nov 30, 2022. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions init.sh
    Original file line number Diff line number Diff line change
    @@ -21,5 +21,9 @@ sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin

    sudo usermod -aG docker USERNAME

    # increase watcher limit
    echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
    sudo systctl -p

    # Re-login
    exit
  3. lurepheonix revised this gist Nov 24, 2022. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion .bashrc
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,11 @@
    # add to end of file

    export PATH=/usr/lib/cargo/bin:$PATH

    bind '"\e[A": history-search-backward'
    bind '"\e[B": history-search-forward'

    alias cat='bat --style=plain'
    alias cat='batcat --style=plain'
    alias l='exa'
    alias la='exa -a'
    alias ll='exa -lah'
  4. lurepheonix revised this gist Nov 23, 2022. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions .bashrc
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,12 @@
    bind '"\e[A": history-search-backward'
    bind '"\e[B": history-search-forward'

    alias cat='bat --style=plain'
    alias l='exa'
    alias la='exa -a'
    alias ll='exa -lah'
    alias ls='exa --color=auto'

    # Starship
    eval "$(starship init bash)"

  5. lurepheonix revised this gist Nov 21, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion init.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    # Install useful tools
    sudo apt install bat zoxide curl httpie ncdu htop fd-find exa tldr git vim rsync pv zip unzip p7zip-full
    sudo apt install bat zoxide curl httpie ncdu htop fd-find exa tldr git vim rsync pv zip unzip p7zip-full make

    # install duf from https://github.com/muesli/duf/releases

  6. lurepheonix revised this gist Nov 21, 2022. 2 changed files with 11 additions and 1 deletion.
    10 changes: 10 additions & 0 deletions .bashrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    # add to end of file

    bind '"\e[A": history-search-backward'
    bind '"\e[B": history-search-forward'

    # Starship
    eval "$(starship init bash)"

    # Tools
    eval "$(zoxide init bash)"
    2 changes: 1 addition & 1 deletion init.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    # Install useful tools
    sudo apt install bat zoxide curl httpie ncdu htop fd-find exa tldr git vim rsync pv
    sudo apt install bat zoxide curl httpie ncdu htop fd-find exa tldr git vim rsync pv zip unzip p7zip-full

    # install duf from https://github.com/muesli/duf/releases

  7. lurepheonix revised this gist Nov 21, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion init.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    # Install useful tools
    sudo apt install bat zoxide curl httpie ncdu htop fd-find exa tldr git vim
    sudo apt install bat zoxide curl httpie ncdu htop fd-find exa tldr git vim rsync pv

    # install duf from https://github.com/muesli/duf/releases

  8. lurepheonix revised this gist Nov 21, 2022. 1 changed file with 24 additions and 2 deletions.
    26 changes: 24 additions & 2 deletions init.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,25 @@
    sudo apt install bat zoxide httpie ncdu htop fd-find exa tldr git
    # Install useful tools
    sudo apt install bat zoxide curl httpie ncdu htop fd-find exa tldr git vim

    # install duf from https://github.com/muesli/duf/releases
    # install duf from https://github.com/muesli/duf/releases

    # Starship
    curl -sS https://starship.rs/install.sh | sh

    # Time for actual development tools
    sudo apt remove docker docker-engine docker.io containerd runc

    sudo apt install ca-certificates curl gnupg lsb-release
    sudo mkdir -p /etc/apt/keyrings
    curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
    echo \
    "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
    $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

    sudo apt update
    sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin

    sudo usermod -aG docker USERNAME

    # Re-login
    exit
  9. lurepheonix created this gist Nov 21, 2022.
    3 changes: 3 additions & 0 deletions init.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    sudo apt install bat zoxide httpie ncdu htop fd-find exa tldr git

    # install duf from https://github.com/muesli/duf/releases