Compare commits
No commits in common. "fd3ea440c5dad2b87fca6b8575dc04f26152923b" and "bc7ce79c2015090401aad4e639df76e7ec19d473" have entirely different histories.
fd3ea440c5
...
bc7ce79c20
|
@ -6,7 +6,7 @@ local conf = require("telescope.config").values
|
|||
|
||||
local wiki_utils = {}
|
||||
|
||||
local root_path = '/home/server/Workspace/DnD/Lumentis Campaign Setting'
|
||||
local root_path = '/home/user/Workspace/DnD/Lumentis Campaign Setting'
|
||||
|
||||
local function get_title(file)
|
||||
for line in io.lines(file) do
|
||||
|
@ -30,6 +30,7 @@ local choose_link = function(opts, titles, links)
|
|||
actions.select_default:replace(function()
|
||||
actions.close(prompt_bufnr)
|
||||
local selection = action_state.get_selected_entry()
|
||||
-- print(vim.inspect(selection['index']))
|
||||
vim.api.nvim_put({ links[selection['index']] }, "", false, true)
|
||||
end)
|
||||
return true
|
||||
|
|
10
zsh/.zshrc
10
zsh/.zshrc
|
@ -136,13 +136,17 @@ export GOPATH=/tmp/go
|
|||
|
||||
# >>> mamba initialize >>>
|
||||
# !! Contents within this block are managed by 'mamba init' !!
|
||||
export MAMBA_EXE="$HOME/.local/bin/micromamba";
|
||||
export MAMBA_EXE="/usr/bin/micromamba";
|
||||
export MAMBA_ROOT_PREFIX="$HOME/.micromamba";
|
||||
__mamba_setup="$("$MAMBA_EXE" shell hook --shell zsh --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)"
|
||||
__mamba_setup="$('/usr/bin/micromamba' shell hook --shell zsh --prefix '$HOME/.micromamba' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__mamba_setup"
|
||||
else
|
||||
alias micromamba="$MAMBA_EXE" # Fallback on help from mamba activate
|
||||
if [ -f "$HOME/.micromamba/etc/profile.d/micromamba.sh" ]; then
|
||||
. "$HOME/.micromamba/etc/profile.d/micromamba.sh"
|
||||
else
|
||||
export PATH="$HOME/.micromamba/bin:$PATH" # extra space after export prevents interference from conda init
|
||||
fi
|
||||
fi
|
||||
unset __mamba_setup
|
||||
# <<< mamba initialize <<<
|
||||
|
|
Loading…
Reference in New Issue