Follow alias function naming conventions
This commit is contained in:
@@ -62,7 +62,8 @@ if ON_DARWIN:
|
|||||||
if ON_LINUX:
|
if ON_LINUX:
|
||||||
aliases["pulsefix"] = "pulseaudio --kill; pulseaudio --start"
|
aliases["pulsefix"] = "pulseaudio --kill; pulseaudio --start"
|
||||||
|
|
||||||
def find_venv():
|
def _vv():
|
||||||
|
"""Finds the nearest venv going upward in the directory hierarchy and activates it."""
|
||||||
d = Path.cwd()
|
d = Path.cwd()
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
@@ -77,7 +78,7 @@ def find_venv():
|
|||||||
d = d.parent
|
d = d.parent
|
||||||
|
|
||||||
|
|
||||||
aliases["vv"] = find_venv
|
aliases["vv"] = _vv
|
||||||
|
|
||||||
# # Hybrid Vi Mode
|
# # Hybrid Vi Mode
|
||||||
# set -g fish_key_bindings hybrid_bindings
|
# set -g fish_key_bindings hybrid_bindings
|
||||||
|
|||||||
Reference in New Issue
Block a user