Skip to content

Commit

Permalink
Drop sudo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Manville committed Aug 14, 2016
1 parent 98ff725 commit 4910253
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# macros
#
[macros.install]
prefix = ["sudo", "apt-get", "install", "-y"]
prefix = ["apt-get", "install", "-y"]

# Not implemented
[macros.install__mac]
Expand All @@ -24,7 +24,7 @@
[tasks.vim_plugin_ag]
cmds = [
["wget", "http://swiftsignal.com/packages/ubuntu/precise/the-silver-searcher_0.14-1_amd64.deb"],
["sudo", "dpkg", "-i", "the-silver-searcher_0.14-1_amd64.deb"],
["dpkg", "-i", "the-silver-searcher_0.14-1_amd64.deb"],
["pwd"],
["rm", "the-silver-searcher_0.14-1_amd64.deb"],
]
Expand Down Expand Up @@ -53,18 +53,18 @@
cmds = [
["wget", "https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf", "https://github.com/Lokaltog/powerline/raw/develop/font/10-powerline-symbols.conf"],
["install", "fontconfig"],
["sudo", "mv", "PowerlineSymbols.otf", "/usr/share/fonts/"],
["sudo", "fc-cache", "-vf"],
["sudo", "mv", "10-powerline-symbols.conf", "/etc/fonts/conf.d/"],
["mv", "PowerlineSymbols.otf", "/usr/share/fonts/"],
["fc-cache", "-vf"],
["mv", "10-powerline-symbols.conf", "/etc/fonts/conf.d/"],
]

[tasks.vimrc]
links = [["${HM_DEST}/.vimrc", "vimrc"]]

[tasks.vim_upgrade]
cmds = [
["sudo", "add-apt-repository", "ppa:fcwu-tw/ppa"],
["sudo", "apt-get", "update"],
["add-apt-repository", "ppa:fcwu-tw/ppa"],
["apt-get", "update"],
["@install", "vim"],
]

Expand Down

0 comments on commit 4910253

Please sign in to comment.