diff --git a/config_files/lsd_config.yaml b/config_files/lsd_config.yaml index 2fcdcef..a699dd5 100644 --- a/config_files/lsd_config.yaml +++ b/config_files/lsd_config.yaml @@ -1,5 +1,5 @@ header: true -layout: tree +layout: oneline recursion: enabled: true depth: 1 diff --git a/config_files/wezterm.desktop b/config_files/wezterm.desktop new file mode 100644 index 0000000..c313d40 --- /dev/null +++ b/config_files/wezterm.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Name=WezTerm +Comment=Wez's Terminal Emulator +Exec=wezterm --config-file /home/daveanand/.config/nvim/config_files/wezterm.lua +Icon=/home/daveanand/.local/repos/wezterm/assets/icon/terminal.png +Terminal=false +Type=Application +Categories=Utility;TerminalEmulator; + diff --git a/config_files/wezterm.lua b/config_files/wezterm.lua index a01f053..9444520 100644 --- a/config_files/wezterm.lua +++ b/config_files/wezterm.lua @@ -2,9 +2,11 @@ local wezterm = require("wezterm") local config = wezterm.config_builder() -- workspace dir default -config.default_cwd = os.getenv("HOMEPATH") .. "/workspace" +config.default_cwd = os.getenv("HOMEPATH") or os.getenv("HOME").. "/workspace" -- default term prog can be changed with cli args +if os.getenv("pwsh") then config.default_prog = { "pwsh" } +end --styles config.harfbuzz_features = { "calt=1", "clig=1", "liga=1" } diff --git a/init.lua b/init.lua index 0e9d337..8496b2d 100644 --- a/init.lua +++ b/init.lua @@ -57,20 +57,4 @@ if vim.fn.has("wsl") == 1 then \ 'cache_enabled': 0, \ } ]]) -elseif vim.fn.has("unix") == 1 then - -- Native Linux-specific clipboard configuration - vim.cmd([[ - let g:clipboard = { - \ 'name': 'LinuxClipboard', - \ 'copy': { - \ '+': 'xclip -selection clipboard', - \ '*': 'xclip -selection primary', - \ }, - \ 'paste': { - \ '+': 'xclip -selection clipboard -o', - \ '*': 'xclip -selection primary -o', - \ }, - \ 'cache_enabled': 0, - \ } - ]]) end diff --git a/zsh/.zshrc b/zsh/.zshrc index 3e2b47f..5b6f482 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -95,15 +95,9 @@ fi # export ARCHFLAGS="-arch $(uname -m)" export LESS="-R" - +export WEZTERM_CONFIG_FILE=~/.config/nvim/config_files/wezterm.lua export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=015,bold" # ruby environement manager eval "$(~/.local/repos/rbenv/bin/rbenv init - --no-rehash zsh)" -# go lang -export GOPATH=$HOME/workspace/go-tools -export GOBIN=$GOPATH/bin -export PATH="$GOBIN:/usr/local/go/bin:$PATH" -# wezterm -export WEZTERM_CONFIG_FILE=$HOME/.config/nvim/config_files/wezterm.lua -# Message of the day +# message of the day ~/.config/nvim/zsh/motd.sh