Commit Graph

18 Commits

Author SHA1 Message Date
druckdev
04ea8e9a89 zsh: Cleanup conf() a bit
Add more editor fallback values.
Cleanup comments and fix indentation.
Do not check for existence of specified config file. (Since the config
file can now be created that way)
"Downgrade" all file checks for readability to checks for existence,
since this should be handled on the editor layer.
2020-09-23 02:36:11 +02:00
druckdev
0788926c8c zsh: Autoload big functions 2020-09-22 00:28:28 +02:00
druckdev
16896efa02 Replace cformat() with a clang-format wrapper
Replace the function with extra functionality with a wrapper for
clang-format that looks for the style flag and substitutes a given
filename with its parsed content.
2020-09-21 22:51:03 +02:00
druckdev
fdfa8a5f8a Cleanup zsh functions and add unbkp()
Add unbkp() that reverses bkp().
Use shorter zsh syntax for disowning a background job.
Add usage string to mangrep.
Expect clang-format config to be in XDG_CONFIG_HOME. Add functionality
of comments.
Use `command` where we want a command to be taken as external.
2020-09-21 18:06:55 +02:00
druckdev
da90d3f744 Deactivate sorting in fzf when using glog 2020-09-21 17:44:45 +02:00
druckdev
253501a230 Add git-submodule-rm
Add function git-submodule-rm that deinits and removes a submodule from
a git repo.
2020-09-13 17:14:50 +02:00
druckdev
72f6d50546 Cleanup glog
Use associative array for keybinds (just looks a little bit better).
Create array for the fzf arguments.
2020-09-10 05:53:32 +02:00
druckdev
a985873b25 Exit glog if not in git repo 2020-09-04 09:44:45 +02:00
druckdev
292b45aefb Rename and add comment
Rename onelineformat to formatshort to keep one continuous format
(dateshort).
2020-08-31 02:29:29 +02:00
druckdev
9a2e52e51b glog format improvement
Show less information in the fzf list view (for smaller
displays/terminals).
Customize the format of the preview window that now contains almost all
information and colors.
Use single quotes where no variables are used.
2020-08-31 02:24:21 +02:00
druckdev
a74723fea6 Add glog keybindings 2020-08-29 23:23:12 +02:00
druckdev
91080dd6d6 Improve glog alias by creating a function for it
Improve glog alias by creating a function for it that uses fzf to
directly preview the full commit using git-show. The function also
allows to select one of the commits and putting its abbreviated commit
hash into the clipboard.
2020-08-28 02:33:38 +02:00
druckdev
bcd23681ce List open files when unmount fails 2020-08-22 16:21:37 +02:00
druckdev
9f86f2dc08 Fix typo 2020-08-19 21:55:16 +02:00
druckdev
e8eaec0798 Add function for safe removal of external HDDs
Add zsh function that can be used for safely removing external HDDs
since only unmounting them will not make them stop spinning.
2020-07-31 16:41:57 +02:00
druckdev
da474b7899 Whitespace changes
Delete unnecessary indentation and convert all spaces to tabs.
2020-06-30 04:10:47 +02:00
druckdev
d9de21efce Include config.ini into conf tool 2020-06-25 23:54:18 +02:00
druckdev
0c743950ac Initial commit 2020-04-23 14:50:36 +02:00