summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2020-01-27 04:35:21 -0600
committerTom Barrett <tom@tombarrett.xyz>2020-01-27 04:35:21 -0600
commit861f1c2c4553663dd4b46fbaabe73d0df5ba8602 (patch)
tree934432870c877389ef11e55492da693c622208c9
parente6ade29e5762862955077457c0061d5e769eca1d (diff)
update
-rw-r--r--.config/fish/config.fish2
-rwxr-xr-xlxc/roll4
2 files changed, 3 insertions, 3 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 987b0d7..5a9db4b 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -1,4 +1,4 @@
-set PATH /bin /home/tom/.cargo/bin /sbin /usr/bin /usr/games /usr/local/bin /usr/local/games /usr/local/sbin /usr/sbin
+set PATH /bin /home/tom/.cargo/bin /sbin /usr/bin /usr/games /usr/local/bin /usr/local/games /usr/local/sbin /usr/sbin /home/tom/bin
function fish_user_key_bindings
for mode in insert default visual
diff --git a/lxc/roll b/lxc/roll
index 6c8b9ef..fa95cdd 100755
--- a/lxc/roll
+++ b/lxc/roll
@@ -23,8 +23,8 @@ lxc-attach -n $NAME -- bash -c 'echo -e "'$PASS'\n'$PASS'" | passwd '$USER
# setup for yay
lxc-attach -n $NAME -- mkdir /home/$USER/yay
-lxc-attach -n $NAME -- chown $USER:$USER -R /home/$USER
lxc-attach -n $NAME -- git clone https://aur.archlinux.org/yay-bin.git /home/$USER/yay
+lxc-attach -n $NAME -- chown $USER:$USER -R /home/$USER
lxc-attach -n $NAME -- bash -c 'cd /home/'$USER'/yay && sudo -u '$USER' makepkg -si --noconfirm'
lxc-attach -n $NAME -- bash -c 'sudo -u '$USER' yay -Syu --noconfirm'
@@ -35,4 +35,4 @@ lxc-attach -n $NAME -- bash -c 'echo "X11UseLocalhost yes" >> /etc/ssh/sshd_conf
lxc-attach -n $NAME -- systemctl start sshd
# display info
-lxc-attach -n $NAME -- ip a
+lxc-info -n $NAME