forked from colonelpanic/dotfiles
Add some linux compatibility stuff. WIP...
This commit is contained in:
@@ -23,6 +23,7 @@ def setup(ctx):
|
||||
linux.all(ctx)
|
||||
dotfiles(ctx, 'f')
|
||||
install_python_libraries(ctx)
|
||||
powerline(ctx)
|
||||
install_npm_libraries(ctx)
|
||||
change_shell(ctx)
|
||||
|
||||
@@ -34,6 +35,11 @@ def dotfiles(ctx, flags=''):
|
||||
return ctx.run('dotfiles -s{1} -R {0}'.format(DOTFILES_DIRECTORY, flags))
|
||||
|
||||
|
||||
@ctask
|
||||
def powerline(ctx):
|
||||
ctx.run('pip install --user git+git://github.com/Lokaltog/powerline')
|
||||
|
||||
|
||||
@ctask
|
||||
def install_python_libraries(ctx):
|
||||
ctx.run('sudo pip install -r {0}'.format(
|
||||
@@ -64,3 +70,4 @@ ns.add_task(setup)
|
||||
ns.add_task(install_python_libraries)
|
||||
ns.add_task(install_npm_libraries)
|
||||
ns.add_task(vimstall)
|
||||
ns.add_task(powerline)
|
||||
|
@@ -10,7 +10,8 @@ def all(ctx):
|
||||
linux_pacakges = ('zsh', 'tmux', 'emacs24-nox', 'nmap', 'scala', 'default-jdk',
|
||||
'default-jre', 'python-virtualenv', 'htop', 'netcat', 'wget',
|
||||
'zlib1g-dev', 'libxml2-dev', 'libxslt1-dev', 'python-dev',
|
||||
'libncurses5-dev', 'npm', 'python3-dev')
|
||||
'libncurses5-dev', 'xbindkeys', 'python3-dev', 'xclip',
|
||||
'silversearcher-ag', 'npm', 'xdotool')
|
||||
@ctask
|
||||
def apt_get(ctx):
|
||||
install_command = 'sudo apt-get -y install'
|
||||
|
Reference in New Issue
Block a user