https://github.com/ContentsViewer/sh-setup
Setup Shell Environment with ONE Command. (Including WSL)
https://github.com/ContentsViewer/sh-setup
setup shell ubuntu wsl
Last synced: 11 months ago
JSON representation
Setup Shell Environment with ONE Command. (Including WSL)
- Host: GitHub
- URL: https://github.com/ContentsViewer/sh-setup
- Owner: ContentsViewer
- License: mit
- Created: 2019-06-16T01:42:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-01T02:39:05.000Z (over 2 years ago)
- Last Synced: 2024-10-24T12:12:48.432Z (over 1 year ago)
- Topics: setup, shell, ubuntu, wsl
- Language: Shell
- Homepage: http://contentsviewer.work/Master/ShellScript/Setup
- Size: 20.5 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sh-setup
Setup Shell Environment with ONE Command. (Including WSL)
## Usage
```sh
# download scripts
$ git clone https://github.com/ContentsViewer/sh-setup.git
# move to script folder
$ cd sh-setup
# change the access mode of the script
$ chmod 755 setup.sh
# Now, let's start setup!
$ ./setup.sh
```
if you are using wsl(windows subsystem for linux),
you can setup gui environment by adding option `--wsl`
```sh
$ ./setup.sh ---wsl
```
## Update
You can re-run this script.
At 2 or more time, this script will update all packages.
## Packages
This script will add these packages.
### build-essential
### vim
### git
### tree
### tmux
At same time, add the `tmux.conf` by which you can use
* mouse
* scroll
### htop
### fzf
### python-dev
### pyenv
### pip
### pipenv
### zsh
This script does not change current shell into zsh as default shell.
You can launch zsh with command bellow.
```sh
zsh
```
### Optional
if you flag the wsl option, this script will add these additional packages.
#### xfce4-termianl
#### xfce4
install GUI Environment. for more detail, read the bellow section "How to Setup GUI Environment on WSL".
#### font
install fonts in windows into linux
#### fcitx
## How to Setup GUI Environment on WSL
1. First, you should install X Client on windows, such like "VcXsrv(free)" "X410".
2. And Run this script added `--wsl`
3. Finally, start gui environment `startxfce4`
## Author
IOE