Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
ds_cs4bd_2324
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
s90907
ds_cs4bd_2324
Commits
dcfb3278
Commit
dcfb3278
authored
1 year ago
by
Graupner, Sven
Browse files
Options
Downloads
Patches
Plain Diff
update README.md added section on bash customization
parent
82fc263e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Cygwin_setup.md
+27
-7
27 additions, 7 deletions
Cygwin_setup.md
with
27 additions
and
7 deletions
Cygwin_setup.md
+
27
−
7
View file @
dcfb3278
...
...
@@ -35,12 +35,17 @@ Good introductions to *bash* are:
## Steps
1.
[
Installation
](
#1-installation
)
2.
[
Configure *bash* (C-drive, HOME-dir, PATH)
](
#2-configure-bash
)
1.
[
Install *Cygwin*
](
#1-install-cygwin
)
2.
[
Configure *Cygwin* and *bash*
](
#2-configure-cygwin
)
-
/c/ drive
-
define HOME-directory
-
file in HOME-directory:
*.bashrc*
-
define PATH environment variable in
*.bashrc*
3.
[
Customize *bash*
](
#3-customize-bash
)
## 1. Install
atio
n
## 1. Install
Cygwi
n
1.
Download the installer
`setup-x86_64.exe`
from
[
https://www.cygwin.com/install.html
](
https://www.cygwin.com/install.html
)
.
...
...
@@ -136,11 +141,11 @@ Good introductions to *bash* are:
1.
Return to
*bash*
terminal:
-
change to HOME-directory and
-
show content of file
`.bashrc`
using a text editor
(
-
show content of file
`.bashrc`
using a text editor
:
*[vim](https://www.vim.org)*
(already installed with cygwin),
*[nano](https://www.nano-editor.org)*
or
*[sublime](https://www.sublimetext.com)*
are good choices
)
are good choices.
```
sh
$
cd
# change to bash HOME-directory
$
ls
-la
# find file .bashrc
...
...
@@ -153,7 +158,7 @@ Good introductions to *bash* are:
## 2. Configure
bash
## 2. Configure
*Cygwin*
[
PATH
](
https://en.wikipedia.org/wiki/PATH_(variable
)
) is an
environment variable on Unix-like operating systems that
...
...
@@ -253,3 +258,18 @@ not properly configured.
$ docker --version
Docker version 24.0.6, build ed223bc
```
## 3. Customize *bash*
*bash*
is widely customizable, usually by settings in
*.bashrc*
.
-
[
Bash Prompt customization
](
https://wiki.archlinux.org/title/Bash/Prompt_customization
)
-
[
How to Change Colors on LS in Bash
](
https://linuxhint.com/ls_colors_bash
)
-
[
How to Customize and Colorize the Bash Prompt
](
https://www.howtogeek.com/307701/how-to-customize-and-colorize-your-bash-prompt/
)
Skip, when no customization is desired.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment