This repository has been archived by the owner on Apr 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#144) Apply fixes, switch to Fish shell:
* Fix the command that sets the `DISPLAY` variable; * Switch to the `bitnami/git` base image; * Check what is provided by the image; * Don't use `--storage-opt` option when building; * Setup Fish shell; * Update the description; * Add `--chown` to `COPY` instructions in `Dockerfile`; * Update the screenshot.
- Loading branch information
Pavel Sobolev
authored
May 1, 2021
1 parent
6dd9c6c
commit 265bb76
Showing
19 changed files
with
125 additions
and
179 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
echo -e '\n\e[1;36mInstalling Fish:\e[0m' | ||
|
||
echo -e '\e[1;36m> Installing the package...\e[0m' | ||
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_10/ /' >> /etc/apt/sources.list.d/shells:fish:release:3.list | ||
curl -fsSL https://download.opensuse.org/repositories/shells:fish:release:3/Debian_10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_fish_release_3.gpg > /dev/null | ||
install_packages fish >/dev/null | ||
|
||
echo -e '\e[1;36m> Changing the default shell...\e[0m' | ||
sed -i -e "s/bin\/ash/usr\/bin\/fish/" /etc/passwd | ||
|
||
echo |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Go home | ||
cd $HOME | ||
|
||
# Disable greeting | ||
set fish_greeting | ||
|
||
# Key bindings | ||
|
||
## Bind `Ctrl+Backspace` to delete a word behind the cursor | ||
bind \b backward-kill-word | ||
|
||
## Bind `Ctrl+Delete` to delete a word after the cursor | ||
bind \e\[3\;5~ kill-word | ||
|
||
# Variables | ||
|
||
## Switch to UTF-8 encoding | ||
set -gx LC_ALL C.UTF-8 | ||
|
||
## Make `less` not open a window if text takes up less space | ||
set -gx LESS -FXR | ||
|
||
## Set up the display (for WSL) | ||
set -gx DISPLAY (cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0 | ||
|
||
# Aliases | ||
alias ls=exa | ||
alias cfg="nano ~/.config/fish/config.fish" | ||
|
||
# Keychain | ||
# eval keychain -q --noask --eval id_rsa >/dev/null |
Oops, something went wrong.