Skip to content

Instantly share code, notes, and snippets.

@belchior
Last active June 23, 2021 00:18
Show Gist options
  • Save belchior/cf1b3f18326c75fe037a659ca2012246 to your computer and use it in GitHub Desktop.
Save belchior/cf1b3f18326c75fe037a659ca2012246 to your computer and use it in GitHub Desktop.
sudo apt update;
sudo apt upgrade;
sudo apt install git npm curl vim fish terminator xclip;
# Git global config
git config --global user.name "Belchior Oliveira"
git config --global user.email "[email protected]"
# instaling node
sudo npm i -g npm n;
sudo n 14;
sudo chown -R $USER:$(id -gn $USER) /home/belchior/.config
# set fish as default shell
chsh
# installing oh-my-fish
curl -L https://get.oh-my.fish | fish;
omf install l
# Add alias
vim ~/.config/fish/config.fish
# Fish alias
function findg; find . -type f | grep $argv; end;
function gti; git $argv; end;
function gtt; git status $argv; end;
function gtag; git tag -l | sort -V $argv; end;
function ll; ls -thrAl $argv; end;
function mymod; sudo chmod -R ugo-rwx,u+wrX,go+rX $argv; end;
function www; cd /home/{$USER}/www/; end;
set -gx EDITOR vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment