diff --git a/aliases/.aliases b/common-shells/.aliases similarity index 100% rename from aliases/.aliases rename to common-shells/.aliases diff --git a/common-shells/.profile b/common-shells/.profile new file mode 100644 index 0000000..0aeb1ef --- /dev/null +++ b/common-shells/.profile @@ -0,0 +1,20 @@ +#!/bin/sh + +# ~/.profile: executed by the command interpreter for login shells. +# +# This file is not read by bash, if ~/.bash_profile or ~/.bash_login exists. +# +# The default umask is set in /etc/profile; for setting the umask for ssh +# logins, install and configure the libpam-umask package. +#umask 022 + +# Set font for console tty +# Source: https://github.com/powerline/fonts/tree/master/Terminus/PSF +if [ "$TERM" == "linux" ]; then + CONSOLE_FONTD=$HOME/.local/share/consolefonts + CONSOLE_FONT=ter-powerline-v12n.psf.gz + if [ -f "$CONSOLE_FONTD/$CONSOLE_FONT" ]; then + setfont "$CONSOLE_FONTD/$CONSOLE_FONT" + fi +fi + diff --git a/zsh/.zprofile b/zsh/.zprofile new file mode 100755 index 0000000..ece26e6 --- /dev/null +++ b/zsh/.zprofile @@ -0,0 +1,8 @@ +#!/bin/zsh + +if [ -f "$HOME/.profile" ]; then + emulate sh + . $HOME/.profile + emulate zsh +fi +