You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
574 B
27 lines
574 B
#!/bin/bash
|
|
|
|
## Create workspace
|
|
cd ~
|
|
mkdir -p workspace
|
|
cd workspace
|
|
|
|
## Install lf
|
|
wget https://github.com/gokcehan/lf/releases/download/r28/lf-linux-amd64.tar.gz -O lf.tar.gz
|
|
tar -xzf lf.tar.gz
|
|
sudo mv lf /usr/bin/_lf
|
|
rm lf.tar.gz
|
|
|
|
mkdir -p ~/.config/lf
|
|
cd ~/.config/lf
|
|
wget https://git.nunosempere.com/open.source/server-init/raw/branch/master/lfrc -O lfrc
|
|
|
|
cd ~
|
|
touch .bashrc
|
|
wget https://git.nunosempere.com/open.source/server-init/raw/branch/master/lf-snippet.sh -O lf-snippet.sh
|
|
cat lf-snippet.sh >> .bashrc
|
|
rm lf-snippet.sh
|
|
source .bashrc
|
|
## To do:
|
|
## - Install z
|
|
|