mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
uniformizing shell config
This commit is contained in:
parent
65be65d4d6
commit
a0f8f48016
6 changed files with 81 additions and 58 deletions
12
zsh/profile
12
zsh/profile
|
|
@ -1,4 +1,14 @@
|
|||
# zprofile, called for login shells
|
||||
|
||||
# dotfiles locations
|
||||
DOTFILES_HOME_DIR="$(cd -P "$(dirname "$(readlink ~/.zprofile)")" && pwd)"
|
||||
DOTFILES_ROOT_DIR="$( dirname "$DOTFILES_HOME_DIR" )"
|
||||
DOTFILES_ZSH_DIR="$DOTFILES_ROOT_DIR/zsh"
|
||||
|
||||
emulate sh
|
||||
. ~/.profile
|
||||
source ~/.profile
|
||||
emulate zsh
|
||||
|
||||
# zshrc will be called automatically for interactive shells
|
||||
|
||||
# vim: ft=zsh
|
||||
|
|
|
|||
4
zsh/rc
4
zsh/rc
|
|
@ -1,5 +1,6 @@
|
|||
# Set up the prompt
|
||||
# zshrc, called for interactive shells
|
||||
|
||||
# Set up the prompt
|
||||
|
||||
# Set terminal title
|
||||
set_term_title() {
|
||||
|
|
@ -139,3 +140,4 @@ chpwd() {
|
|||
set_term_title
|
||||
}
|
||||
|
||||
# vim: ft=zsh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue