Skip to content

Instantly share code, notes, and snippets.

使用kde的快速启动时,如果要加入其他目录,往.xprofile里面加是不行的,kde会在启动时执行~/.config/plasma-workspace/env/目录下的文件,所以只需要在里面写上export语句就行了。

export PATH=$HOME/.local/bin:$PATH
@edgesider
edgesider / Python: delete all items of list.py
Created August 27, 2018 03:50
Python: delete all items of list
l = [[], (), {}]
del l[:]