@@ -1,5 +1,5 @@
|
|||||||
header: true
|
header: true
|
||||||
layout: tree
|
layout: oneline
|
||||||
recursion:
|
recursion:
|
||||||
enabled: true
|
enabled: true
|
||||||
depth: 1
|
depth: 1
|
||||||
|
|||||||
10
config_files/wezterm.desktop
Normal file
10
config_files/wezterm.desktop
Normal file
@@ -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;
|
||||||
|
|
||||||
@@ -2,9 +2,11 @@
|
|||||||
local wezterm = require("wezterm")
|
local wezterm = require("wezterm")
|
||||||
local config = wezterm.config_builder()
|
local config = wezterm.config_builder()
|
||||||
-- workspace dir default
|
-- 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
|
-- default term prog can be changed with cli args
|
||||||
|
if os.getenv("pwsh") then
|
||||||
config.default_prog = { "pwsh" }
|
config.default_prog = { "pwsh" }
|
||||||
|
end
|
||||||
|
|
||||||
--styles
|
--styles
|
||||||
config.harfbuzz_features = { "calt=1", "clig=1", "liga=1" }
|
config.harfbuzz_features = { "calt=1", "clig=1", "liga=1" }
|
||||||
|
|||||||
16
init.lua
16
init.lua
@@ -57,20 +57,4 @@ if vim.fn.has("wsl") == 1 then
|
|||||||
\ 'cache_enabled': 0,
|
\ '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
|
end
|
||||||
|
|||||||
10
zsh/.zshrc
10
zsh/.zshrc
@@ -95,15 +95,9 @@ fi
|
|||||||
# export ARCHFLAGS="-arch $(uname -m)"
|
# export ARCHFLAGS="-arch $(uname -m)"
|
||||||
|
|
||||||
export LESS="-R"
|
export LESS="-R"
|
||||||
|
export WEZTERM_CONFIG_FILE=~/.config/nvim/config_files/wezterm.lua
|
||||||
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=015,bold"
|
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=015,bold"
|
||||||
# ruby environement manager
|
# ruby environement manager
|
||||||
eval "$(~/.local/repos/rbenv/bin/rbenv init - --no-rehash zsh)"
|
eval "$(~/.local/repos/rbenv/bin/rbenv init - --no-rehash zsh)"
|
||||||
# go lang
|
# message of the day
|
||||||
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
|
|
||||||
~/.config/nvim/zsh/motd.sh
|
~/.config/nvim/zsh/motd.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user