fish-shell

This commit is contained in:
simono41 2018-03-06 23:29:50 +01:00
parent 50ea86c980
commit 7494195d76
11 changed files with 34 additions and 0 deletions

View file

@ -257,6 +257,11 @@ if [ -d /root/.config ]; then
rm -Rv /root/.config
fi
# shell-fish
chsh -s /usr/bin/fish root
chsh -s /usr/bin/fish ${username}
# mirrorlist
cp /opt/${repo}/mirrorlist_libre /etc/pacman.d/mirrorlist_libre
cp /opt/${repo}/mirrorlist /etc/pacman.d/mirrorlist
@ -529,6 +534,9 @@ if [ "${vollinstallation}" != "n" ]; then
sed "s|%OS_NAME%|${repo}|g;" /opt/${repo}/bash.bashrc > /etc/bash.bashrc
cp /opt/${repo}/.bashrc /root/
# config.fish
cp /opt/${repo}/config.fish /root/.config/fish/config.fish
# btrfs-swapfile
cp /opt/${repo}/btrfs-swapon.service /etc/systemd/system/
cp /opt/${repo}/btrfs-swapon /usr/bin/

17
config.fish Normal file
View file

@ -0,0 +1,17 @@
alias reboot="sudo systemctl reboot"
alias poweroff="sudo systemctl poweroff"
alias halt="sudo systemctl halt"
alias hibernate="sudo systemctl hibernate"
alias hybrid="sudo systemctl hybrid-sleep"
alias suspend="sudo systemctl suspend"
function fish_prompt
powerline-shell --shell bare $status
end
# Start X at login
if status is-login
if test -z "$DISPLAY" -a $XDG_VTNR = 1
exec startx -- -keeptty
end
end

View file

@ -36,6 +36,7 @@ file-roller
filezilla
firefox
firefox-i18n-de
fish
freeciv
gdisk
git

View file

@ -35,6 +35,7 @@ file-roller
filezilla
firefox
firefox-i18n-de
fish
freeciv
gdisk
git

View file

@ -35,6 +35,7 @@ file-roller
filezilla
firefox
firefox-i18n-de
fish
freeciv
gdisk
git

View file

@ -25,6 +25,7 @@ exfat-utils
fail2ban
ffmpeg
filezilla
fish
freeciv
gdisk
git

View file

@ -35,6 +35,7 @@ file-roller
filezilla
firefox
firefox-i18n-de
fish
freeciv
gdisk
git

View file

@ -36,6 +36,7 @@ file-roller
filezilla
firefox
firefox-i18n-de
fish
freeciv
gdisk
git

View file

@ -35,6 +35,7 @@ file-roller
filezilla
firefox
firefox-i18n-de
fish
freeciv
gdisk
git

View file

@ -48,6 +48,7 @@ file-roller
filezilla
firefox
firefox-i18n-de
fish
freeciv
gdisk
gimp

View file

@ -35,6 +35,7 @@ file-roller
filezilla
firefox
firefox-i18n-de
fish
freeciv
gdisk
git