Commit graph

27 commits

Author SHA1 Message Date
Jakobus Schürz
42e20462ca add option for sync or not sync profile
Variable MYSHELLCONFIG_GIT_SYNC in ~/.bashrc
if unset it defaults to true. So profile is synced
If Set to false, do not sync profile
2020-02-25 16:15:32 +01:00
Jakobus Schürz
dc9e93bba8 fix logdirpath 2020-02-05 12:18:12 +01:00
Jakobus Schürz
46595c88d0 fix missing logdir 2020-02-05 12:12:29 +01:00
Jakobus Schürz
e437585b31 move cat end of backup to interactive section 2020-02-05 07:36:58 +01:00
Jakobus Schürz
c6d3098290 remove debug, fix failing source 2020-01-22 11:00:53 +01:00
Jakobus Schürz
c76952df20 debug 2020-01-22 10:59:17 +01:00
Jakobus Schürz
d133a4926d debug 2020-01-22 10:20:53 +01:00
Jakobus Schürz
66d74eee9f improve output 2020-01-22 10:10:10 +01:00
Jakobus Schürz
905a222293 Split bashrc_add in separat files
If configuration is updated, sometimes it needed two logins to get
last configs, aliases and so on. Because first login it syncs the
configuration and load-functions, on second login, the new configuration
was used (valid for all functions in bashrc_add itself)

Now the loading of defaults is in a own file.
First the file is synced with git, then the new file gets sourced, so
the script can use the new configuration on first login
2020-01-22 09:17:13 +01:00
Jakobus Schürz
66fd6fcd3b fix nested link creation in WORK 2020-01-22 08:16:56 +01:00
Jakobus Schürz
ff212c9f7c fix syntax 2020-01-21 15:25:34 +01:00
Jakobus Schürz
a9957d30e5 create WDOTD only if not existing or is a link 2020-01-21 15:22:43 +01:00
Jakobus Schürz
a63dca8ff8 create link on ~/WORK if it is not a file 2020-01-21 15:17:29 +01:00
Jakobus Schürz
a1f2238de6 create WDOTD in yearly and monthly folder 2020-01-21 15:14:46 +01:00
Jakobus Schürz
6c367db234 add WorkDirOfTheDay
create a directory in ~/archive named work_$TODAY and link it to ~/WORK.
So it exists a Directory for every day, where the daily work can be
saved
2020-01-21 15:11:09 +01:00
Jakobus Schürz
71edfe6e6b fix logic 2020-01-17 16:08:02 +01:00
Jakobus Schürz
b6cecd1dc2 fix wrong logic 2020-01-17 16:03:54 +01:00
Jakobus Schürz
1017005260 make set-url configurable via environment 2020-01-17 15:54:52 +01:00
Jakobus Schürz
181f184228 debug 2020-01-17 15:52:25 +01:00
Jakobus Schürz
a429fc5e19 change debug 2020-01-16 11:18:55 +01:00
Jakobus Schürz
ea29f12c98 change test if shell is interactive 2020-01-15 18:09:34 +01:00
Jakobus Schürz
d353f294f2 export Variable 2020-01-15 15:33:25 +01:00
Jakobus Schürz
ae02743831 add new variable 2020-01-15 01:38:33 +01:00
2f38d0d194 add return before exit
exit in sourced script cause termination of whole shell/terminal
2020-01-14 11:59:32 +01:00
035496f7ec change hostconfig -> myshellconfig 2020-01-14 11:56:22 +01:00
525fda1938 fix Vundle path 2020-01-14 11:51:24 +01:00
d2f0657629 transition from HOSTCONFIG to MYSHELLCONFIG
and use the same pathes for vim plugin repos on git.schuerz.at as on
github.com
2020-01-14 10:12:00 +01:00