32416deedd
zsh:alias: Add git-ancestor and git-base-branch
2021-05-15 22:12:50 +02:00
45a2ab8a20
vim:keybindings: Add gp to reselect last paste
2021-05-15 04:07:22 +02:00
4f70d7f32f
zsh:glog: Show pgp key instead of fingerprint
...
Also display a status: (From `git-show` manpage)
```
"G" for a good (valid) signature,
"B" for a bad signature,
"U" for a good signature with unknown validity,
"X" for a good signature that has expired,
"Y" for a good signature made by an expired key,
"R" for a good signature made by a revoked key,
"E" if the signature cannot be checked (e.g. missing key) and
"N" for no signature
```
2021-05-15 04:06:22 +02:00
724a6a455d
vim:keybindings: Add // to search for selection
2021-05-15 04:06:20 +02:00
00da37623a
zsh:funcs:git-checkout-worktree: Remove -p flag
...
As under OSX the -p flag does not exist, it seems safer to just use
`mktemp -d` and create the worktree under that directory.
This just has the disadvantage of one more dir to display in the `PWD`.
2021-05-15 04:06:14 +02:00
6e89def392
zsh:autload: Add gstash to display git stashes
...
Add gstash as a copy of glog with very slight modifications.
(Exchange `git log` with `git stash list` and remove the `--graph` flag)
2021-05-15 04:06:09 +02:00
492c29c096
git:functions: Remove old unused nemo wrapper
2021-05-10 17:30:46 +02:00
4053920f53
git:completion: Fix command not found error
...
_git has to be loaded before other functions can use its completion
functions.
Hint to this found at: https://unix.stackexchange.com/a/269818
2021-05-10 17:28:22 +02:00
b82a9d2221
git:completion: Add git-checkout-worktree
2021-05-10 17:27:54 +02:00
1d8f21b565
zsh:functions: Add git-checkout-worktree
2021-05-10 16:12:23 +02:00
3029e30589
git:ignore: Add compile_flags.txt
2021-05-04 10:50:45 +02:00
7090f55653
zsh:alias: Add -j flag per default to make
2021-05-04 10:43:19 +02:00
c93d36677b
zsh:glog: Handle missing commands and OS X
...
As the commit hash is now potentially printed (when no clipboard tool is
available), the copy-command needed to be executed not silent.
2021-04-30 11:48:09 +02:00
3aa722842d
vim: Use tree style listing in netrw
2021-04-28 01:37:42 +02:00
22501182ce
vim: Use timer instead of autocommand for autoread
2021-04-26 17:56:15 +02:00
a9b5c19f2f
git: Use 'main' as default branch name
2021-04-20 11:51:31 +02:00
987cabb841
bin:zoom-links: Only copy if browser opened
...
Do not overwrite the link in the clipboard if nothing opened.
2021-04-19 18:17:36 +02:00
b71e768d1c
locale: Use en_DK instead of tk_TM for LC_TIME
2021-04-19 18:17:05 +02:00
bb78154888
zsh:zshenv: Use [[ instead of [
2021-04-12 21:01:31 +02:00
1b17c35f4b
zsh: Add zlogout to kill ssh-agent
...
On system where my dotfiles are only partially installed (e.g. only
the shell) for the environment variables defined in the zprofile to take
affect, every terminal instance needs to execute zsh a login-shell.
This lead to numerous instances of the ssh-agent that were not killed
when exiting the shell. As I still need the correct env-vars like
SSH_AGENT_PID in every shell I cannot just pgrep and execute the agent
respectively.
This adds a zlogout that kills the agent spawned in the current shell.
It also stops `exec`ing `startx` as then the zlogout is not read.
2021-04-12 21:01:31 +02:00
fd2c3f611b
fzf: Ignore node_modules also without rg
2021-04-12 21:01:30 +02:00
b2962a5ce1
vim:ctags: Exclude files in build directory
2021-04-12 21:01:30 +02:00
a72eca0bf7
git:ignore: Add tags.{lock,temp}
2021-04-12 21:01:22 +02:00
376c8b6315
X11:xmodmap: Fix ISO US layout
2021-04-08 18:42:13 +02:00
fb72813e0c
bin:raw2preview: Refactor + skip directories
2021-04-08 18:30:17 +02:00
74e7cdef30
zsh:alias: Check for MACOS in clipboard aliases
...
Also check for the existence of perl before baking it into the alias.
2021-04-04 10:53:41 +02:00
7d085eedd0
zsh,X11: Move ssh-agent from xinitrc to zprofile
...
As I also want the ssh-agent to run without X.
2021-04-04 10:52:51 +02:00
2478e7200e
git: Globally ignore node_modules
2021-04-04 10:50:48 +02:00
1bc07937bb
repo:LICENSE: Bump year to 2021
2021-04-03 20:27:40 +02:00
60761055d3
bin:filterHistory: Update characters to escape
2021-04-02 18:45:12 +02:00
141e422910
polybar 📆 Clear LC_TIME
...
I have set LC_TIME to tk_TM.utf8 for its date formatting, but this is
cumbersome when calling `cal`.
2021-04-02 18:36:03 +02:00
2a9b9530e9
git:alias: Fix spull to actually execute
2021-03-11 01:37:32 +01:00
d52afbfa3c
zsh:completion: Add completion for glog
2021-03-11 01:26:59 +01:00
d98c93dda5
repo: Ignore .zcompcache
2021-03-10 13:52:22 +01:00
ed55fc14dc
zsh:zprofile: Add /Library/Apple/usr/bin to PATH
...
When under macos add /Library/Apple/usr/bin to the PATH.
2021-03-10 13:50:05 +01:00
c09033ed21
zsh:zprofile: Add /usr/local/bin to PATH
2021-03-10 13:43:11 +01:00
3394cafca3
vim:plugins:ctags: Ignore node_modules/ and .git/
2021-03-10 13:41:48 +01:00
abd26352d4
zsh:ls-show-hidden: Use coreutils ls under darwin
2021-03-10 13:37:32 +01:00
17ef6a23e5
zsh:functions:nvim-man: Use portable flag for man
...
The macos version of man does not have the long versions of the flags.
2021-03-10 13:35:33 +01:00
48dc9ca561
zsh:keys:cmd-on-enter: Add reset on other command
...
If a command is normally executed CMD_ON_ENTER is reseted to `ls`.
Otherwise problems can occur when for example switching the directory to
a non-repo when CMD_ON_ENTER contains `gs`.
2021-03-09 15:47:09 +01:00
93225e2d66
zsh:keys:cmd-on-enter: Cycle between ls & gs too
2021-03-08 01:10:09 +01:00
f0ebab3ca2
repo: Update submodules
2021-03-08 01:05:32 +01:00
eed998b60f
meta:install.conf: Do not hardcode zsh's path
2021-02-26 12:27:17 +01:00
7008284a5f
zsh:zshenv: Fix typo
2021-02-26 12:26:57 +01:00
1dab90540d
locale: Check for existence before setting locale
2021-02-26 12:26:34 +01:00
5359e44e0d
vim:plugins:coc.nvim: Update to release branch
2021-02-26 12:09:27 +01:00
02a2b78890
VSCode: Display trailing whitespace
2021-02-19 23:40:07 +01:00
e0a674d4f5
VSCode: Add keybindings.json
2021-02-19 23:40:07 +01:00
428d53e153
VSCode: Set hlsearch
2021-02-19 23:40:07 +01:00
79338da68e
VSCode: Bind Ctrl hjkl to switch buffers
2021-02-19 23:40:07 +01:00