Fish config: fixed indention

This commit is contained in:
Marcel Kapfer 2018-03-09 12:19:35 +01:00
parent 11a159d248
commit 07c25105ae
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -45,27 +45,27 @@ alias mmk2410='~/.mmk2410'
# end # end
if [ -z $EDITOR ] if [ -z $EDITOR ]
set -Ux EDITOR es set -Ux EDITOR es
end end
if [ -z $VISUAL ] if [ -z $VISUAL ]
set -Ux VISUAL es set -Ux VISUAL es
end end
if [ -z $GIT_EDITOR ] if [ -z $GIT_EDITOR ]
set -Ux GIT_EDITOR es set -Ux GIT_EDITOR es
end end
if [ -z $GOPATH ] if [ -z $GOPATH ]
set -Ux GOPATH ~/.go set -Ux GOPATH ~/.go
end end
if test -z $DEBFULLNAME if test -z $DEBFULLNAME
set -Ux DEBFULLNAME "Marcel Kapfer" set -Ux DEBFULLNAME "Marcel Kapfer"
end end
if test -z $DEBEMAIL if test -z $DEBEMAIL
set -Ux DEBEMAIL "opensource@mmk2410.org" set -Ux DEBEMAIL "opensource@mmk2410.org"
end end
if test -z $XDG_CURRENT_DESKTOP if test -z $XDG_CURRENT_DESKTOP
@ -102,17 +102,17 @@ gpg-connect-agent updatestartuptty /bye > /dev/null
# Source the Nix profile, if it exists. # Source the Nix profile, if it exists.
set -l NIX_PROFILE $HOME/.nix-profile/etc/profile.d/nix.fish set -l NIX_PROFILE $HOME/.nix-profile/etc/profile.d/nix.fish
if test -e $NIX_PROFILE if test -e $NIX_PROFILE
source $NIX_PROFILE source $NIX_PROFILE
end end
# Automatically start X at login # Automatically start X at login
# source: https://wiki.archlinux.org/index.php/Fish#Start_X_at_login # source: https://wiki.archlinux.org/index.php/Fish#Start_X_at_login
# This must be at the bottom of this file # This must be at the bottom of this file
if status --is-login if status --is-login
if test -z "$DISPLAY" -a $XDG_VTNR = 1 if test -z "$DISPLAY" -a $XDG_VTNR = 1
# Unlock GPG keyring befor starting X. # Unlock GPG keyring befor starting X.
# This makes some things easier. # This makes some things easier.
echo "gpg unlock" | gpg -se -r me@mmk2410.org > /dev/null echo "gpg unlock" | gpg -se -r me@mmk2410.org > /dev/null
exec startx -- -keeptty exec startx -- -keeptty
end end
end end