Commit Graph

24 Commits

Author SHA1 Message Date
b1d520d666 fix udot path issues 2025-04-08 21:14:08 +02:00
835eb51ca2 fix ascii :-) 2025-04-01 19:14:59 +02:00
2613314ed7 cleanup 2025-03-30 21:02:22 +02:00
1d3c67873d finaly change functions in master 2025-02-10 20:42:45 +01:00
c7af3b4870 add wrk description 2016-11-05 02:13:55 +01:00
f7d258f819 correct c&p typo 2016-11-05 02:10:55 +01:00
f536830bf9 fix dotfiles ascii art (forgot to escape one \) 2016-08-09 19:52:01 +02:00
36421a4291 reload tmux config after update 2016-08-05 19:23:47 +02:00
a83cf9446a move udot submodule update after git pull 2016-08-04 22:20:17 +02:00
d113f42302 add submodule init on update 2016-08-04 20:12:19 +02:00
93d66cbd6e Change install instructions and update function to handle git submodules 2016-08-04 19:56:36 +02:00
b0dd1d08db fix: change directory first 2016-07-15 22:41:59 +02:00
dd967dd0bc fix 2016-07-12 00:04:44 +02:00
54857b2b83 test
## To make a commit, type your commit message and press SUPER-ENTER. To cancel
## the commit, close the window. To sign off on the commit, press SUPER-S.

## You may also reference or close a GitHub issue with this commit.  To do so,
## type `#` followed by the `tab` key.  You will be shown a list of issues
## related to the current repo.  You may also type `owner/repo#` plus the `tab`
## key to reference an issue in a different GitHub repo.

diff --git a/functions b/functions
index 52bf5ee..a8717f3 100644
--- a/functions
+++ b/functions
@@ -3,7 +3,7 @@ udot() {
   info=$(git --no-pager log --pretty="%h by %an <%ae> on %cd" -1 --abbrev-commit)
   local=$(git --no-pager log --pretty="%H" -1)
   remote=$(git ls-remote origin | awk "/HEAD/ {print \$1}")
-  gstatus=$(git status -s)
+  gstatus=$(git status --porcelain)

   echo -e ""
   echo -e '    ____      U  ___ u _____    _____              _     U _____ u ____    '
@@ -17,7 +17,7 @@ udot() {
   echo -e "$info"
   echo -e ""

-  if [ "$status" != "" ]; then
+  if [ -n "$status" ]; then
     echo -e "Local changes:"
     echo -e "$gstatus"
     echo -e ""
2016-07-12 00:03:39 +02:00
2b4c92f174 udot: print local changes 2016-07-12 00:00:48 +02:00
d957f8b776 fix ascii art 2016-07-11 23:44:15 +02:00
90644f07a5 update udot (update dot files) function 2016-07-11 23:27:23 +02:00
94f0af366a add ssht function
will attach to existing tmux session, create new if one does not exist or just start bash if there is no tmux available.
2016-07-10 14:24:41 +02:00
42be23196e move udot to functions 2016-07-10 13:27:57 +02:00
bb45e581ee small changes 2016-07-02 21:14:08 +02:00
7a1ae1062c add dockersecure 2016-07-02 00:13:07 +02:00
5fd2b82ef3 add bash envoirement to dockersh 2016-04-14 23:19:37 +02:00
58cd1c5107 rename dockerbash to dockersh 2016-04-14 21:37:38 +02:00
3982960912 add some bash functions 2016-04-14 21:31:11 +02:00