Skip to content

Commit

Permalink
bash
Browse files Browse the repository at this point in the history
  • Loading branch information
5late committed Oct 29, 2021
1 parent 4847834 commit c5fe910
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/install
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# 0xMF dotfiles aliases file
alias_file=$HOME/.bash/aliases.bash
# Get location of scripts within filesystem
Expand Down
2 changes: 1 addition & 1 deletion bin/repoless-install
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# 0xMF dotfiles aliases file
alias_file=$HOME/.bash/aliases.bash
# Get location of scripts within filesystem
Expand Down
2 changes: 1 addition & 1 deletion bin/settings
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
echo "Extra settings script"
echo
alias_file=$HOME/.bashrc
Expand Down
6 changes: 5 additions & 1 deletion bin/update
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
location="$PWD"
parent_dir="$(dirname "$PWD")"
current_dir="$(basename "$PWD")"
Expand Down Expand Up @@ -28,6 +28,8 @@ repo_mode(){

sleep 1

chmod 755 ./*

cp -v ./* $config_files

echo "Copied all files to config location $config_files, you are up-to-date!"
Expand All @@ -50,6 +52,8 @@ repoless_mode(){
wget raw.githubusercontent.com/5late/Newb-Config/master/scripts/remindme.sh
wget raw.githubusercontent.com/5late/Newb-Config/master/scripts/showlast.sh

chmod 755 ./*

mv -v ./* $config_files && cd .. && chmod 755 tmp-nc && rm -r tmp-nc

echo "Moved all files to config location $config_files, you are up to date!"
Expand Down

0 comments on commit c5fe910

Please sign in to comment.