summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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__