dotfiles

Cross platform dotfiles for linux, mac and windows
git clone git@getsh.org:dotfiles.git
Log | Files | Refs

commit 55f484ba3b4ead66fbdc9cf7cd8ee75682b85245
parent 420dfe6b056b3a22edf6425d63789e9156d5b9a7
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date:   Sat, 17 Feb 2024 19:26:04 +0530

Remove custom TERMINFO options from .profile, as the path causes issues in servers

Update vim minisnip main@ to have const char* for argv

Remove .user-dir.dir as it causes issues sometimes, just use the default
Downloads, Documents, Videos, etc. Life is easy.

Export a function properly in .config/sh/functions

Diffstat:
M.config/sh/functions | 2+-
D.config/user-dirs.dirs | 8--------
M.gitignore | 1+
M.local/share/vim/minisnip/_c_main | 2+-
M.profile | 2--
5 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/.config/sh/functions b/.config/sh/functions @@ -19,7 +19,7 @@ open() { Darwin) command open "$@" ;; *) start "$@" ;; esac -} +} && export $is_bash open attach() { command -v abduco >/dev/null || return diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs @@ -1,8 +0,0 @@ -XDG_DESKTOP_DIR="$XDG_ROOT/Desktop" -XDG_DOWNLOAD_DIR="$XDG_ROOT/Downloads" -XDG_TEMPLATES_DIR="$XDG_ROOT/" -XDG_PUBLICSHARE_DIR="$XDG_ROOT/Public" -XDG_DOCUMENTS_DIR="$XDG_ROOT/Documents" -XDG_MUSIC_DIR="$XDG_ROOT/Music" -XDG_PICTURES_DIR="$XDG_ROOT/Pictures" -XDG_VIDEOS_DIR="$XDG_ROOT/Videos" diff --git a/.gitignore b/.gitignore @@ -12,6 +12,7 @@ # Config !.config/ +.config/user-dirs.dirs !.local/ diff --git a/.local/share/vim/minisnip/_c_main b/.local/share/vim/minisnip/_c_main @@ -1,4 +1,4 @@ -int main(int argc, char* argv[]) { +int main(int argc, const char* argv[]) { {{++}} return 0; } diff --git a/.profile b/.profile @@ -47,8 +47,6 @@ PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass RUSTUP_HOME="$XDG_DATA_HOME"/rustup SONGDL_HOME="${XDG_DATA_HOME}/music/" SQLITE_HISTORY="$XDG_DATA_HOME/sqlite_history" -TERMINFO="$XDG_DATA_HOME"/terminfo -TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo VSCODE_PORTABLE="$XDG_DATA_HOME/vscode" W3M_DIR="$XDG_DATA_HOME"/w3m _Z_DATA="$XDG_DATA_HOME/z"