comparison install.py @ 425:350f7a55ff33

Improve fish configuration.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 28 Mar 2018 20:07:21 -0700
parents 6dbef23ca6bd
children e0bb52007402
comparison
equal deleted inserted replaced
424:d8086f81b9c8 425:350f7a55ff33
101 mklink('bashrc/bash_profile', '.bash_profile') 101 mklink('bashrc/bash_profile', '.bash_profile')
102 102
103 103
104 @only_on_nix 104 @only_on_nix
105 def install_fish(): 105 def install_fish():
106 ensure_dir('~/.config') 106 ensure_dir('~/.config/fish')
107 mklink('fish', '~/.config/fish') 107 writelines('~/.config/fish/config.fish',
108 ['source %s' % _p('fish', 'config.fish')])
108 109
109 110
110 def install_vim(): 111 def install_vim():
111 vimrc_path = '~/.vimrc' 112 vimrc_path = '~/.vimrc'
112 if is_windows: 113 if is_windows: