Commit Graph

592 Commits

Author SHA1 Message Date
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
99e57230e5 Update submodules
Update p10k to v1.12.0.
Update tmux-{continuum,resurrect}, fzf, zsh-syntax-highlighting and
dotbot to the latest master commit.
2020-08-25 05:08:29 +02:00
druckdev
11be8376ae Add description to filterHistory script
Add author, date and description to the filterHistory script.
Fix other author and date notes formatting.
2020-08-25 04:23:57 +02:00
druckdev
7d68990051 Put ls into BUFFER instead of printing it
Before, syntax-highlighting did not trigger and the fake ls was ugly.
2020-08-22 16:25:25 +02:00
druckdev
ea5ec6b865 Check termcap before putting in application mode 2020-08-22 16:24:49 +02:00
druckdev
bcd23681ce List open files when unmount fails 2020-08-22 16:21:37 +02:00
druckdev
1ca16d248d Add conf completion for programs in HOME 2020-08-20 00:53:26 +02:00
druckdev
c1315bd693 Fix name clashing
Fix name clashing of batter alias with bat the cat replacement
2020-08-20 00:20:21 +02:00
druckdev
7ae6b2189d Make p10ks instant prompt quiet 2020-08-19 21:55:51 +02:00
druckdev
9f86f2dc08 Fix typo 2020-08-19 21:55:16 +02:00
druckdev
c456216e6b Add binding for fzf-history-widget 2020-08-19 21:53:37 +02:00
druckdev
d5dda4d353 Replace zsh-history-substring-search with fzf
Replace the zsh-history-substring-search plugin with fzf by adding a
function that starts the fzf-history-widget when pressing <Up> with a
nonempty BUFFER. The widget then uses the buffer automatically as query
for fzf.
2020-08-19 21:51:47 +02:00
druckdev
8bcc737030 Add plugin fzf-tab 2020-08-06 03:42:26 +02:00
druckdev
44d8de0efe Removed unnecesary brackets 2020-08-05 23:56:42 +02:00
druckdev
83bfec7bbf Update submodules
Update dotbot to v1.17.1
Update zsh-async to v1.8.3
Update zsh-syntax-highlighting to latest commit (2d60a47cc)
2020-08-04 05:54:15 +02:00
druckdev
be3e217231 Check for certain commands before using
Check for existence of certain commands like nvim before using them in
aliases or env vars like EDITOR.
2020-08-04 04:49:30 +02:00
druckdev
066d8e9f0e Make adding to PATH safer 2020-08-04 04:39:00 +02:00
druckdev
5771a7d18f Create zsh_history location if nonexistent 2020-08-04 04:14:48 +02:00
druckdev
f5259b5505 Add fuzzy finder
Add fzf as submodule.
Source it keybindings and completion files.
Adjust dotbot install config to pull fzf binary.
Add symlink to its binary.
2020-08-04 02:54:05 +02:00
druckdev
074ea3382a Add .local/bin to PATH 2020-08-04 02:51:36 +02:00
druckdev
4a99abf72d Do not hardcode vim path 2020-08-03 23:53:14 +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
158a1c757d Execute ls when enter is pressed with empty buffer 2020-07-31 16:38:38 +02:00
druckdev
a9955af675 Add git log alias
Add alias that displays git log in a colored graph
2020-07-31 16:36:17 +02:00
druckdev
3e87ce3fb6 Set zsh option
Substitute aliases internally before completion.
2020-07-31 16:35:02 +02:00
druckdev
6e9dc46fab Add loading of direnv 2020-07-03 02:07:16 +02:00
druckdev
843d51b415 Fix bug that occurs when dirs contain spaces
When one of the parent directories contain spaces, the zle -M gets to
many arguments and complains. Quoting them solves this bug.
2020-07-03 01:59:16 +02:00
druckdev
da474b7899 Whitespace changes
Delete unnecessary indentation and convert all spaces to tabs.
2020-06-30 04:10:47 +02:00
druckdev
a180a09f6f Make sure that the terminfo values are valid 2020-06-30 03:54:42 +02:00
druckdev
2ab21674b0 Switch cursor style depending on keymap 2020-06-30 03:44:11 +02:00
druckdev
658698f66d Remove not properly working selection bindings 2020-06-30 03:15:10 +02:00
druckdev
dad05f4d68 Autoload and bind run-help 2020-06-30 03:08:36 +02:00
druckdev
e8b8c27369 No duplicate completion for diff programs 2020-06-30 03:07:00 +02:00
druckdev
d50eb4a506 Reworked zsh options
Add and rephrased option comments.
unset CDABLE_VARS since it only works with cd and thus leads to problems
when trying to use the notation with other programs (since it became a
habit)
Set new options.
2020-06-30 03:04:22 +02:00
druckdev
a06182153c Compile modules before sourcing them
Add functions comp-conf and comp-source heavily inspired by romkatvs
jit & jit-source.
Replace every call to source with comp-source.
Remove existence check since it is done in comp-source.
Replace still existing readable checks with existence checks.
2020-06-28 18:32:11 +02:00
druckdev
e668feb9db Update p10k to v1.11.0
Update powerlevel10k to v1.11.0.
Include patch of applied changes to the configuration created by the
wizard.
2020-06-26 00:03:57 +02:00
druckdev
d56da06737 Add terminfo entries for some keybindings
To support the same keybindings under st, use the terminfo entries.
2020-06-25 23:55:35 +02:00
druckdev
7526a5530b Keep variable local 2020-06-25 23:54:53 +02:00
druckdev
d9de21efce Include config.ini into conf tool 2020-06-25 23:54:18 +02:00
druckdev
b3ad3a48c5 Add aliases
Add hint if reboot is necessary after updating.
Add alias to grep a date string.
Always scale images opened with feh to fit the window.
Add alias to open a "temporary" shell in alternate mode that does not
mess with the scrollback history.
2020-06-25 23:52:03 +02:00
druckdev
31a4bc0768 Use st as terminal
Switch from gnome-terminal to st (see fork on github).
Open new terminal by default in the same working-dir as current window.
Modify scratchpad-terminal to work with every terminal.
2020-06-24 16:05:34 +02:00
druckdev
0c743950ac Initial commit 2020-04-23 14:50:36 +02:00