-- Git

Terminal Environment on windows (Unix comamands,Git,Fish,Autocomplete)

Bkz: https://github.com/jorgebucaran/awsm.fish

1- Install Windows terminal and Ubuntu 20.xx version download on windows store

2-Fish-shell install https://github.com/fish-shell/fish-shell

3-Oh-my-fish install https://github.com/oh-my-fish/oh-my-fish

4-Fisher install https://github.com/jorgebucaran/fisher

omf install bobthefish (themeinstall) 

https://github.com/oh-my-fish/oh-my-fish/blob/master/docs/Themes.md

5-Z install -(folder manager)

6-Fish manuel config, insert alias.

Create custom config file for Docker and Dotnet cli run on ubuntu terminal

nano ~/.config/fish/config.fish in
alias docker="docker.exe"
alias docker-compose="docker-compose.exe"
alias dotnet="dotnet.exe"
alias python="python.exe"
alias virtualenv="virtualenv.exe"
alias pip="pip.exe"
alias explorer="explorer.exe"

alias gg="git push"
alias gm="git commit -m"
alias gma="git commit -ma"
alias gp="git pull"
alias gpr="git pull --rabase"
alias gcb="git checkout -b"
alias gs="git status"
alias gl="git log --n 5"

set fish_greeting Go, go go..!

Then active fish config:

source ~/.config/fish/config.fish

Customize vscode theme, material-theme active.

How can set default open shell?

chsh -s /usr/bin/fish
If error; run "which fish"

open the default terminal for vscode below run:

wsl --list --all

wsl --setdefault Ubuntu-20.04

Finished.

Yorumla

Yorum