Skip to content

Instantly share code, notes, and snippets.

View shuntksh's full-sized avatar

Shun Takahashi shuntksh

View GitHub Profile
@shuntksh
shuntksh / config.fish
Last active October 10, 2024 23:25
Automatically starts zellij when in terminal but not in vscode terminal pane.
# Zellij - Launch zellij if not launched yet and not in vscode integrated shell
if not set -q VSCODE_SHELL_INTEGRATION
if set -q ZELLIJ
else
zellij
end
end
# Python - Activate python virtual env
function __auto_source_venv --on-variable PWD --description "Activate/Deactivate virtualenv on directory change"