Browse Source

Use oh-my-zshs dir for custom settings

coc
Schneider 7 years ago
parent
commit
bbac3731d2
  1. 3
      custom.zsh
  2. 6
      install.sh
  3. 2
      tmux/tmux.conf.symlink

3
zsh/zshrc.symlink → custom.zsh

@ -1,3 +1,4 @@
source $HOME/.oh-my-zsh/zshrc.sh
ZSH_THEME="agnoster"
source $HOME/.dotfiles/zsh/aliases.zsh

6
install.sh

@ -1,14 +1,14 @@
#!/usr/bin/env bash
DOTFILES=$HOME/.dotfiles
if [[ ! -d ~/.oh-my-zsh ]]; then
echo -e "\nInstall oh-my-zsh"
echo "============================="
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
mv $HOME/.zshrc $HOME/.oh-my-zsh/zshrc.sh
ln -s $DOTFILES/zsh/custom.zsh ~/.oh-my-zsh/custom/custom.zsh
fi
DOTFILES=$HOME/.dotfiles
echo -e "\nCreating symlinks"
echo "=============================="
linkables=$( find -H "$DOTFILES" -maxdepth 3 -name '*.symlink' )

2
tmux/tmux.conf.symlink

@ -1,4 +1,4 @@
#set -g default-command "login-shell"
set -g default-command "zsh"
# tmux display things in 256 colors
#set -g default-terminal "tmux-256color-italic"

Loading…
Cancel
Save