V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
linsun84
V2EX  ›  Python

xonsh shell --- 有了 Python 就够了,可以忘记 Shell 了

  •  2
     
  •   linsun84 · 2016-05-11 21:12:26 +08:00 · 5717 次点击
    这是一个创建于 2905 天前的主题,其中的信息可能已经有所发展或是发生改变。

    http://xon.sh/

    看了下视频介绍,感觉很酷啊,准备试用下看看。感觉就直接可以用 Python 来操作 Shell 了,感觉比 Shell 脚本好太多了。

    现在用的 fish shell,感觉挺不错的,主要是自动补全比 bash 要好太多了。

    11 条回复    2017-12-05 13:38:45 +08:00
    necomancer
        1
    necomancer  
       2016-05-11 22:23:03 +08:00
    刚体验了一下,果断好评 ^_^ 对于我这种 anaconda 严重依赖用户非常适合~
    hei1000
        2
    hei1000  
       2016-05-12 09:42:38 +08:00 via Android
    昨天试了下,在我的 fedora23 上, pip 安装失败,手动安装运行不起来 orz
    bemike
        3
    bemike  
       2016-05-12 10:27:55 +08:00
    这个真不错, Shell 的未来。
    ipwx
        4
    ipwx  
       2016-05-12 11:06:04 +08:00
    又一个 Python3 Only 的项目,这让我觉得开发者很傲慢。 2&3 兼容其实很简单的,能够开发这么大项目,不可能连这点技能都没有吧?
    linsun84
        5
    linsun84  
    OP
       2016-05-12 11:21:31 +08:00
    @hei1000 你得用 Python3, Python2.7 肯定不行,我安装过了。
    necomancer
        6
    necomancer  
       2016-05-12 13:01:18 +08:00
    @hei1000 试试 anaconda 呗~
    hei1000
        7
    hei1000  
       2016-05-12 16:22:20 +08:00
    @linsun84 今天又试过了,费尽周折安装上去了,试了下,感觉还是 fish 好用
    myth
        8
    myth  
       2016-05-13 09:37:00 +08:00
    看着不错,严重依赖 python 者的福音。
    romanticbao
        9
    romanticbao  
       2016-05-13 09:38:21 +08:00
    我认为 bash 的优点就是随便找台线上机器上去看,就是你熟悉的操作环境
    leafonsword
        10
    leafonsword  
       2017-10-25 17:46:47 +08:00
    太棒了,希望能代替 bash !
    pony279
        11
    pony279  
       2017-12-05 13:38:45 +08:00   ❤️ 2
    @ipwx

    既然那么简单,这是自由软件,你可以自己 fork 一份出来改?

    好奇这跟傲慢有什么关系,作者自己喜欢用 python3,又不给你打工,凭什么为你开发 python2 兼容?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5395 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 1552ms · UTC 08:41 · PVG 16:41 · LAX 01:41 · JFK 04:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.