changeset 250:2d119b462c83

Add some missing command prompt dependencies We use tmux for multi-prompt access and use the git prompt to track what's not committed
author IBBoard <dev@ibboard.co.uk>
date Sun, 22 Dec 2019 06:58:44 -0500
parents e9323ff8f451
children 7307c3d59ce7
files manifests/templates.pp modules/vcs/manifests/init.pp
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Sun Dec 22 06:57:52 2019 -0500
+++ b/manifests/templates.pp	Sun Dec 22 06:58:44 2019 -0500
@@ -247,7 +247,7 @@
 }
 
 class tools {
-	$packages = [ 'sqlite', 'bash-completion', 'nano', 'bzip2', 'mlocate', 'patch' ]
+	$packages = [ 'sqlite', 'bash-completion', 'nano', 'bzip2', 'mlocate', 'patch', 'tmux' ]
 	package { $packages:
 		ensure => installed;
 	}
--- a/modules/vcs/manifests/init.pp	Sun Dec 22 06:57:52 2019 -0500
+++ b/modules/vcs/manifests/init.pp	Sun Dec 22 06:58:44 2019 -0500
@@ -9,6 +9,10 @@
         ensure => installed,
         provider => 'pip',
     }
+    file { '/etc/bash_completion.d/git-prompt.sh':
+        ensure => 'link',
+        target => '/usr/share/git-core/contrib/completion/git-prompt.sh',
+    }
 }
 
 class vcs::client inherits vcs {