Browse Source

Use oh-my-zshs dir for custom settings

coc
Schneider 8 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 source $HOME/.dotfiles/zsh/aliases.zsh

6
install.sh

@ -1,14 +1,14 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DOTFILES=$HOME/.dotfiles
if [[ ! -d ~/.oh-my-zsh ]]; then if [[ ! -d ~/.oh-my-zsh ]]; then
echo -e "\nInstall oh-my-zsh" echo -e "\nInstall oh-my-zsh"
echo "=============================" echo "============================="
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 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 fi
DOTFILES=$HOME/.dotfiles
echo -e "\nCreating symlinks" echo -e "\nCreating symlinks"
echo "==============================" echo "=============================="
linkables=$( find -H "$DOTFILES" -maxdepth 3 -name '*.symlink' ) 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 # tmux display things in 256 colors
#set -g default-terminal "tmux-256color-italic" #set -g default-terminal "tmux-256color-italic"

Loading…
Cancel
Save