56
loading...
This website collects cookies to deliver better user experience
.deb
or .rpm
files, depending on the distribution you choose.Ubuntu
sudo
to install, which requires you to enter your password. If you do lose it, you can run:passwd <username>
.bashrc
with some useful aliases and other important scripts. Before any of this, create a new directory called Coding/
or Projects/
, and clone all your repos there. .bashrc
. First, run:curl https://getmic.ro | bash
sudo mv micro /usr/bin
/usr/bin
directory. For those of you who don't know, micro is a command line editor useful for editing small files from the terminal, like .bashrc
, with keyboard shortcuts and other useful things. Now that we have it installed, you can run:micro ~/.bashrc
.bashrc
, and start editing it. You can add:alias activate-<PROJECT>="cd <PROJECT_DIR>"
code
code
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
whereis python
should give you an output like /home/user/anaconda3/bin/python
. If it doesn't, then anaconda isn't on path, so you can add to your .bashrc
:# ~/.bashrc
# Add to end of your bashrc.
export PATH=/home/user/anaconda3/bin:$PATH
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
.zshrc
:# ~/.zshrc
eval "$(starship init zsh)"
# ~/.bashrc
eval "$(starship init bash)"
# ~/.config/fish/config.fish
starship init fish | source
mkdir -p ~/.config && touch ~/.config/starship.toml
code ~/.config/starship.toml # With VSC
micro ~/.config/starship.toml # With micro
\\wsl$\Ubuntu\home\{USERNAME}\
. Extract the files, and then run:mkdir ~/.fonts/
mv *.ttf ~/.fonts/
fc-cache -f -v
.ttf
files, and right-click them, and select the install button, which should install the font. Now, in Visual Studio Code, change the "Terminal.Integrated.Font Family" to "FiraCode Nerd Font", Monaco
. Now, use the config from here and paste it into your starship config file. After that launch up your terminal in any project, and it'll show you something like this: