summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-01-08 20:13:12 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2022-01-08 20:13:12 +0100
commit9ce3f8a62926a52b47e28b1f5ae9509623e672a4 (patch)
tree9a3c3f770ee4f3aaa3cf6f25c53b254bd53657a9
parentUpdate (diff)
downloaddotfiles-bsd-9ce3f8a62926a52b47e28b1f5ae9509623e672a4.tar.gz
dotfiles-bsd-9ce3f8a62926a52b47e28b1f5ae9509623e672a4.tar.bz2
dotfiles-bsd-9ce3f8a62926a52b47e28b1f5ae9509623e672a4.tar.xz
dotfiles-bsd-9ce3f8a62926a52b47e28b1f5ae9509623e672a4.tar.zst
dotfiles-bsd-9ce3f8a62926a52b47e28b1f5ae9509623e672a4.zip
Testing
-rw-r--r--.config/env2
-rw-r--r--.config/zsh/alias.zsh4
-rwxr-xr-x.local/bin/ref-mbsync.pl24
3 files changed, 3 insertions, 27 deletions
diff --git a/.config/env b/.config/env
index b6ad41e..9aa97aa 100644
--- a/.config/env
+++ b/.config/env
@@ -15,7 +15,7 @@
export PATH="$HOME"/.local/bin:"$PATH":/usr/local/llvm10/bin:/usr/local/llvm11/bin
# Apps
-export EDITOR='emacsclient -t -a nvim'
+export EDITOR="emacsclient -c -a nvim"
export VISUAL="$EDITOR"
export PAGER='less'
export TERMINAL='st'
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh
index e079b5e..da4a312 100644
--- a/.config/zsh/alias.zsh
+++ b/.config/zsh/alias.zsh
@@ -88,7 +88,7 @@ vimbin() {
cd $p
return
fi
- nvim $sc
+ $VISUAL $sc
cd $p
}
vimconf() {
@@ -99,7 +99,7 @@ vimconf() {
cd $p
return
fi
- nvim $sc
+ $VISUAL $sc
cd $p
}
pa() {
diff --git a/.local/bin/ref-mbsync.pl b/.local/bin/ref-mbsync.pl
deleted file mode 100755
index c8a73a8..0000000
--- a/.local/bin/ref-mbsync.pl
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/local/bin/perl
-
-use strict;
-use warnings;
-
-use constant {
- MBSYNC_PATH => '/usr/local/bin/mbsync',
- NOTIFY_SEND_PATH => '/usr/local/bin/notify-send'
-};
-
-sub main
-{
- system(
- MBSYNC_PATH,
- '-c',
- '/usr/home/jozan/.config/mbsync/mbsyncrc',
- '-a'
- );
- exit 0;
-}
-
-main();
-
-__END__