Skip to content

Commit

Permalink
🚑 Update requirements.txt
Browse files Browse the repository at this point in the history
Update configs of visidata and ipython
  • Loading branch information
Freed-Wu committed Jan 9, 2023
1 parent e6b8f72 commit a826fe8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .config/ptpython/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""config
"""Config
=========
Configure ``ptpython``.
Expand Down
2 changes: 2 additions & 0 deletions .config/python/requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env -S pip install -r

gpustat
pdd
pre-commit
ptpython
pudb
visidata
13 changes: 10 additions & 3 deletions .config/visidata/config.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
"""Config Visidata."""
"""Config
=========
DirSheet.addCommand(
Configure ``visidata``.
"""
from visidata.main import options
from visidata.shell import DirSheet

DirSheet.addCommand( # type: ignore
"gu",
"open-parent-dir",
'vd.push(openSource(source/".."))',
"open parent directory",
)
options.cmdlog_histfile = "~/.cache/visidata/visidata.tsv"
options.cmdlog_histfile = "~/.cache/visidata/visidata.tsv" # type: ignore
options.color_default = "white" # type: ignore
8 changes: 7 additions & 1 deletion .ipython/profile_default/ipython_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
"""Configuration file for ipython."""
"""Config
=========
Configure ``ipython``.
"""
from traitlets.config.loader import Config

c = Config()
# ------------------------------------------------------------------------------
# InteractiveShellApp(Configurable) configuration
# ------------------------------------------------------------------------------
Expand Down

0 comments on commit a826fe8

Please sign in to comment.