22
loading...
This website collects cookies to deliver better user experience
sudo apt install curl
sudo apt install git
.gitconfig
in the user folder. This is my config:
[user]
name = Your Name
email = [email protected]
[color]
branch = auto
diff = auto
showbranch = auto
status = auto
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[log]
date = short
[alias]
commita = commit --amend --no-edit
lg = log --oneline
lgg = log --oneline --graph --decorate=short --branches='*'
pushf = push --force
st = status -sb
[push]
default = current
[pull]
rebase = true
[core]
editor = code --wait
[init]
defaultBranch = main
# Install Zsh
sudo apt install zsh
# Make it your default shell:
chsh -s $(which zsh)
# Install Oh my Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Install Spaceship theme
git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
# Symlink spaceship.zsh-theme to your oh-my-zsh custom themes directory
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
ZSH_THEME="spaceship"
in your .zshrc
file (it should be on your user folder). I also use this moment to change some default configurations, it should look something like this:# oh-my-zsh config
export ZSH="/home/user/.oh-my-zsh"
# zsh theme selection
ZSH_THEME="spaceship"
# oh-my-zsh plugins
plugins=(
common-aliases
gitfast
git-extras
node
npm
sudo
web-search
)
# More oh-my-zsh stuff
source $ZSH/oh-my-zsh.sh
# Adding a default user makes lots of themes look better:
DEFAULT_USER="user"
# Node installation path
export PATH=$PATH:~/.node/bin
# VSCode config.
export EDITOR="code"
sudo apt-get install fonts-powerline
sudo apt install mc
.tar.gz
file and copy all the internal files. Create a folder in your user folder called .node
and paste all the files there.
if you installed Zsh, you should add the node path to the .zshrc
file...
# Node installation path
export PATH=$PATH:~/.node/bin
# Install pnpm
npm i -g pnpm
# Install some global packages
pnpm i -g fixpack fx live-server rimraf
.deb
files..deb
file here.# Install Heroku CLI
sudo snap install --classic heroku
# LogIn
heroku login
sudo apt install peek
sudo snap install gimp
sudo snap install --classic blender