Skip to content

Commit

Permalink
Clean up xonsh sizeup alias
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Jul 27, 2016
1 parent c1aa973 commit 34cf23d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .xonshrc
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,7 @@ def free(args, stdin=None):
aliases['free'] = free
del free

def sizeup(args, stdin=None):
dir = stdin or '.'
def sizeup(args, stdin='.'):
du -a -h -x dir | gsort -h

aliases['sizeup'] = sizeup
Expand Down

0 comments on commit 34cf23d

Please sign in to comment.