summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2025-01-05 19:48:25 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2025-01-05 19:48:25 +0100
commit58bf86c706c5a442da4fb01ea26e06f1ed291d45 (patch)
treefbf807aae15c4f3eb467f1475f2329c8709d0e24 /config
parent0a69f01a5f7f67bd771fd983aa8ba4146cbafcc8 (diff)
checkpoint
Diffstat (limited to 'config')
-rw-r--r--config/essentials/git/config2
-rw-r--r--config/essentials/shell/functions.sh6
-rw-r--r--config/essentials/zsh/comp.zsh2
l---------config/extra/jftui/input.conf2
l---------config/extra/jftui/mpv.conf2
5 files changed, 12 insertions, 2 deletions
diff --git a/config/essentials/git/config b/config/essentials/git/config
index 130b8a5..c8b9a5c 100644
--- a/config/essentials/git/config
+++ b/config/essentials/git/config
@@ -16,3 +16,5 @@
gpgsign = true
[gpg]
program = /usr/bin/gpg
+[core]
+ autocrlf = true
diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh
index ab257fd..f249c14 100644
--- a/config/essentials/shell/functions.sh
+++ b/config/essentials/shell/functions.sh
@@ -381,3 +381,9 @@ ssh() {
done
/usr/bin/ssh $@
}
+
+ssl_req() {
+ [ "$1" ] || return 1
+ [ "$2" ] || return 2
+ openssl req -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out "$1" -keyout "$2"
+}
diff --git a/config/essentials/zsh/comp.zsh b/config/essentials/zsh/comp.zsh
index 7cded53..538d697 100644
--- a/config/essentials/zsh/comp.zsh
+++ b/config/essentials/zsh/comp.zsh
@@ -42,6 +42,8 @@ zstyle ':completion:*' menu select
fpath=($ZDOTDIR/completions $fpath)
autoload -Uz compinit; compinit
+autoload -U +X bashcompinit && bashcompinit
+complete -C /usr/bin/syncthing syncthing
_dotnet_zsh_complete()
{
diff --git a/config/extra/jftui/input.conf b/config/extra/jftui/input.conf
index dd02820..3dc6aa2 120000
--- a/config/extra/jftui/input.conf
+++ b/config/extra/jftui/input.conf
@@ -1 +1 @@
-/home/aluc/src/dotfiles/config/common/mpv/input.conf \ No newline at end of file
+/home/aluc/.config/mpv/input.conf \ No newline at end of file
diff --git a/config/extra/jftui/mpv.conf b/config/extra/jftui/mpv.conf
index 55c1286..fd59595 120000
--- a/config/extra/jftui/mpv.conf
+++ b/config/extra/jftui/mpv.conf
@@ -1 +1 @@
-/home/aluc/src/dotfiles/config/common/mpv/mpv.conf \ No newline at end of file
+/home/aluc/.config/mpv/mpv.conf \ No newline at end of file