{"action":"created","comment":{"url":"https://api.github.com/repos/Bash-it/bash-it/pulls/comments/38824031","id":38824031,"diff_hunk":"@@ -2,19 +2,35 @@ cite about-alias\n about-alias 'general aliases'\n \n # List directory contents\n-alias sl=ls\n-alias ls='ls -G'        # Compact view, show colors\n-alias la='ls -AF'       # Compact view, show hidden\n-alias ll='ls -al'\n-alias l='ls -a'\n-alias l1='ls -1'\n+# Source: http://tldp.org/LDP/abs/html/sample-bashrc.html\n+\n+# # Add colors for filetype and  human-readable sizes by default on 'ls':\n+#alias ls='ls --color'\n+alias l='ls -a --color'            # Standard\n+alias lx='ls -lXB --color'         # Sort by extension.\n+alias lk='ls -lSr --color'         # Sort by size, biggest last.\n+alias lt='ls -ltr --color'         # Sort by date, most recent last.\n+alias lc='ls -ltcr --color'        # Sort by/show change time,most recent last.\n+alias lu='ls -ltur --color'        # Sort by/show access time,most recent last.\n+\n+# # The ubiquitous 'll': directories first, with alphanumeric sorting:\n+alias ll=\"ls -lv --group-directories-first --color\"\n+  alias lm='ll |more'                # Pipe through 'more'\n+  alias lr='ll -R'                   # Recursive ls.\n+  alias la='ll -A'                   # Show hidden files.\n+alias tree='tree -C'               # Nice alternative to 'recursive ls' ...\n+\n+alias sl='ls'\n+alias l1='ls -1 --group-directories-first --color'\n+\n+# alias ls='ls -G'        # Compact view, show colors","path":"aliases/available/general.aliases.bash","position":31,"original_position":31,"commit_id":"73292820e1eea039f79df3f905524b9fb546d2bf","original_commit_id":"73292820e1eea039f79df3f905524b9fb546d2bf","user":{"login":"jawshooah","id":4551271,"avatar_url":"https://avatars.githubusercontent.com/u/4551271?v=3","gravatar_id":"","url":"https://api.github.com/users/jawshooah","html_url":"https://github.com/jawshooah","followers_url":"https://api.github.com/users/jawshooah/followers","following_url":"https://api.github.com/users/jawshooah/following{/other_user}","gists_url":"https://api.github.com/users/jawshooah/gists{/gist_id}","starred_url":"https://api.github.com/users/jawshooah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jawshooah/subscriptions","organizations_url":"https://api.github.com/users/jawshooah/orgs","repos_url":"https://api.github.com/users/jawshooah/repos","events_url":"https://api.github.com/users/jawshooah/events{/privacy}","received_events_url":"https://api.github.com/users/jawshooah/received_events","type":"User","site_admin":false},"body":"Why not remove these rather than commenting them out?","created_at":"2015-09-06T17:47:51Z","updated_at":"2015-09-06T17:47:51Z","html_url":"https://github.com/Bash-it/bash-it/pull/561#discussion_r38824031","pull_request_url":"https://api.github.com/repos/Bash-it/bash-it/pulls/561","_links":{"self":{"href":"https://api.github.com/repos/Bash-it/bash-it/pulls/comments/38824031"},"html":{"href":"https://github.com/Bash-it/bash-it/pull/561#discussion_r38824031"},"pull_request":{"href":"https://api.github.com/repos/Bash-it/bash-it/pulls/561"}}},"pull_request":{"url":"https://api.github.com/repos/Bash-it/bash-it/pulls/561","id":44305139,"html_url":"https://github.com/Bash-it/bash-it/pull/561","diff_url":"https://github.com/Bash-it/bash-it/pull/561.diff","patch_url":"https://github.com/Bash-it/bash-it/pull/561.patch","issue_url":"https://api.github.com/repos/Bash-it/bash-it/issues/561","number":561,"state":"open","locked":false,"title":"More advanced ls aliases","user":{"login":"binaryanomaly","id":4775424,"avatar_url":"https://avatars.githubusercontent.com/u/4775424?v=3","gravatar_id":"","url":"https://api.github.com/users/binaryanomaly","html_url":"https://github.com/binaryanomaly","followers_url":"https://api.github.com/users/binaryanomaly/followers","following_url":"https://api.github.com/users/binaryanomaly/following{/other_user}","gists_url":"https://api.github.com/users/binaryanomaly/gists{/gist_id}","starred_url":"https://api.github.com/users/binaryanomaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binaryanomaly/subscriptions","organizations_url":"https://api.github.com/users/binaryanomaly/orgs","repos_url":"https://api.github.com/users/binaryanomaly/repos","events_url":"https://api.github.com/users/binaryanomaly/events{/privacy}","received_events_url":"https://api.github.com/users/binaryanomaly/received_events","type":"User","site_admin":false},"body":"Used more advanced ls aliases from: http://tldp.org/LDP/abs/html/sample-bashrc.html\r\nOriginal ls remains unaliased (--> better if other programs depend on it)\r\nRemoved unneeded -if [ $(uname) = \"Linux\" ] that prevents colored ls output on OS X\r\n\r\n--> tested on Linux and OS X wit coreutils","created_at":"2015-09-06T16:04:53Z","updated_at":"2015-09-06T17:47:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f481e09435b9195aa5212813955369e26681517","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Bash-it/bash-it/pulls/561/commits","review_comments_url":"https://api.github.com/repos/Bash-it/bash-it/pulls/561/comments","review_comment_url":"https://api.github.com/repos/Bash-it/bash-it/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Bash-it/bash-it/issues/561/comments","statuses_url":"https://api.github.com/repos/Bash-it/bash-it/statuses/73292820e1eea039f79df3f905524b9fb546d2bf","head":{"label":"binaryanomaly:master","ref":"master","sha":"73292820e1eea039f79df3f905524b9fb546d2bf","user":{"login":"binaryanomaly","id":4775424,"avatar_url":"https://avatars.githubusercontent.com/u/4775424?v=3","gravatar_id":"","url":"https://api.github.com/users/binaryanomaly","html_url":"https://github.com/binaryanomaly","followers_url":"https://api.github.com/users/binaryanomaly/followers","following_url":"https://api.github.com/users/binaryanomaly/following{/other_user}","gists_url":"https://api.github.com/users/binaryanomaly/gists{/gist_id}","starred_url":"https://api.github.com/users/binaryanomaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binaryanomaly/subscriptions","organizations_url":"https://api.github.com/users/binaryanomaly/orgs","repos_url":"https://api.github.com/users/binaryanomaly/repos","events_url":"https://api.github.com/users/binaryanomaly/events{/privacy}","received_events_url":"https://api.github.com/users/binaryanomaly/received_events","type":"User","site_admin":false},"repo":{"id":41998086,"name":"bash-it","full_name":"binaryanomaly/bash-it","owner":{"login":"binaryanomaly","id":4775424,"avatar_url":"https://avatars.githubusercontent.com/u/4775424?v=3","gravatar_id":"","url":"https://api.github.com/users/binaryanomaly","html_url":"https://github.com/binaryanomaly","followers_url":"https://api.github.com/users/binaryanomaly/followers","following_url":"https://api.github.com/users/binaryanomaly/following{/other_user}","gists_url":"https://api.github.com/users/binaryanomaly/gists{/gist_id}","starred_url":"https://api.github.com/users/binaryanomaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binaryanomaly/subscriptions","organizations_url":"https://api.github.com/users/binaryanomaly/orgs","repos_url":"https://api.github.com/users/binaryanomaly/repos","events_url":"https://api.github.com/users/binaryanomaly/events{/privacy}","received_events_url":"https://api.github.com/users/binaryanomaly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/binaryanomaly/bash-it","description":"A community bash framework.","fork":true,"url":"https://api.github.com/repos/binaryanomaly/bash-it","forks_url":"https://api.github.com/repos/binaryanomaly/bash-it/forks","keys_url":"https://api.github.com/repos/binaryanomaly/bash-it/keys{/key_id}","collaborators_url":"https://api.github.com/repos/binaryanomaly/bash-it/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/binaryanomaly/bash-it/teams","hooks_url":"https://api.github.com/repos/binaryanomaly/bash-it/hooks","issue_events_url":"https://api.github.com/repos/binaryanomaly/bash-it/issues/events{/number}","events_url":"https://api.github.com/repos/binaryanomaly/bash-it/events","assignees_url":"https://api.github.com/repos/binaryanomaly/bash-it/assignees{/user}","branches_url":"https://api.github.com/repos/binaryanomaly/bash-it/branches{/branch}","tags_url":"https://api.github.com/repos/binaryanomaly/bash-it/tags","blobs_url":"https://api.github.com/repos/binaryanomaly/bash-it/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/binaryanomaly/bash-it/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/binaryanomaly/bash-it/git/refs{/sha}","trees_url":"https://api.github.com/repos/binaryanomaly/bash-it/git/trees{/sha}","statuses_url":"https://api.github.com/repos/binaryanomaly/bash-it/statuses/{sha}","languages_url":"https://api.github.com/repos/binaryanomaly/bash-it/languages","stargazers_url":"https://api.github.com/repos/binaryanomaly/bash-it/stargazers","contributors_url":"https://api.github.com/repos/binaryanomaly/bash-it/contributors","subscribers_url":"https://api.github.com/repos/binaryanomaly/bash-it/subscribers","subscription_url":"https://api.github.com/repos/binaryanomaly/bash-it/subscription","commits_url":"https://api.github.com/repos/binaryanomaly/bash-it/commits{/sha}","git_commits_url":"https://api.github.com/repos/binaryanomaly/bash-it/git/commits{/sha}","comments_url":"https://api.github.com/repos/binaryanomaly/bash-it/comments{/number}","issue_comment_url":"https://api.github.com/repos/binaryanomaly/bash-it/issues/comments{/number}","contents_url":"https://api.github.com/repos/binaryanomaly/bash-it/contents/{+path}","compare_url":"https://api.github.com/repos/binaryanomaly/bash-it/compare/{base}...{head}","merges_url":"https://api.github.com/repos/binaryanomaly/bash-it/merges","archive_url":"https://api.github.com/repos/binaryanomaly/bash-it/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/binaryanomaly/bash-it/downloads","issues_url":"https://api.github.com/repos/binaryanomaly/bash-it/issues{/number}","pulls_url":"https://api.github.com/repos/binaryanomaly/bash-it/pulls{/number}","milestones_url":"https://api.github.com/repos/binaryanomaly/bash-it/milestones{/number}","notifications_url":"https://api.github.com/repos/binaryanomaly/bash-it/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/binaryanomaly/bash-it/labels{/name}","releases_url":"https://api.github.com/repos/binaryanomaly/bash-it/releases{/id}","created_at":"2015-09-06T10:09:08Z","updated_at":"2015-09-06T10:09:09Z","pushed_at":"2015-09-06T16:00:06Z","git_url":"git://github.com/binaryanomaly/bash-it.git","ssh_url":"git@github.com:binaryanomaly/bash-it.git","clone_url":"https://github.com/binaryanomaly/bash-it.git","svn_url":"https://github.com/binaryanomaly/bash-it","homepage":"","size":34686,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Bash-it:master","ref":"master","sha":"8d113eee422674f9f25753fee4a1c9d4f1566f26","user":{"login":"Bash-it","id":11575812,"avatar_url":"https://avatars.githubusercontent.com/u/11575812?v=3","gravatar_id":"","url":"https://api.github.com/users/Bash-it","html_url":"https://github.com/Bash-it","followers_url":"https://api.github.com/users/Bash-it/followers","following_url":"https://api.github.com/users/Bash-it/following{/other_user}","gists_url":"https://api.github.com/users/Bash-it/gists{/gist_id}","starred_url":"https://api.github.com/users/Bash-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bash-it/subscriptions","organizations_url":"https://api.github.com/users/Bash-it/orgs","repos_url":"https://api.github.com/users/Bash-it/repos","events_url":"https://api.github.com/users/Bash-it/events{/privacy}","received_events_url":"https://api.github.com/users/Bash-it/received_events","type":"Organization","site_admin":false},"repo":{"id":957012,"name":"bash-it","full_name":"Bash-it/bash-it","owner":{"login":"Bash-it","id":11575812,"avatar_url":"https://avatars.githubusercontent.com/u/11575812?v=3","gravatar_id":"","url":"https://api.github.com/users/Bash-it","html_url":"https://github.com/Bash-it","followers_url":"https://api.github.com/users/Bash-it/followers","following_url":"https://api.github.com/users/Bash-it/following{/other_user}","gists_url":"https://api.github.com/users/Bash-it/gists{/gist_id}","starred_url":"https://api.github.com/users/Bash-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bash-it/subscriptions","organizations_url":"https://api.github.com/users/Bash-it/orgs","repos_url":"https://api.github.com/users/Bash-it/repos","events_url":"https://api.github.com/users/Bash-it/events{/privacy}","received_events_url":"https://api.github.com/users/Bash-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Bash-it/bash-it","description":"A community bash framework.","fork":false,"url":"https://api.github.com/repos/Bash-it/bash-it","forks_url":"https://api.github.com/repos/Bash-it/bash-it/forks","keys_url":"https://api.github.com/repos/Bash-it/bash-it/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bash-it/bash-it/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bash-it/bash-it/teams","hooks_url":"https://api.github.com/repos/Bash-it/bash-it/hooks","issue_events_url":"https://api.github.com/repos/Bash-it/bash-it/issues/events{/number}","events_url":"https://api.github.com/repos/Bash-it/bash-it/events","assignees_url":"https://api.github.com/repos/Bash-it/bash-it/assignees{/user}","branches_url":"https://api.github.com/repos/Bash-it/bash-it/branches{/branch}","tags_url":"https://api.github.com/repos/Bash-it/bash-it/tags","blobs_url":"https://api.github.com/repos/Bash-it/bash-it/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bash-it/bash-it/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bash-it/bash-it/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bash-it/bash-it/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bash-it/bash-it/statuses/{sha}","languages_url":"https://api.github.com/repos/Bash-it/bash-it/languages","stargazers_url":"https://api.github.com/repos/Bash-it/bash-it/stargazers","contributors_url":"https://api.github.com/repos/Bash-it/bash-it/contributors","subscribers_url":"https://api.github.com/repos/Bash-it/bash-it/subscribers","subscription_url":"https://api.github.com/repos/Bash-it/bash-it/subscription","commits_url":"https://api.github.com/repos/Bash-it/bash-it/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bash-it/bash-it/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bash-it/bash-it/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bash-it/bash-it/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bash-it/bash-it/contents/{+path}","compare_url":"https://api.github.com/repos/Bash-it/bash-it/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bash-it/bash-it/merges","archive_url":"https://api.github.com/repos/Bash-it/bash-it/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bash-it/bash-it/downloads","issues_url":"https://api.github.com/repos/Bash-it/bash-it/issues{/number}","pulls_url":"https://api.github.com/repos/Bash-it/bash-it/pulls{/number}","milestones_url":"https://api.github.com/repos/Bash-it/bash-it/milestones{/number}","notifications_url":"https://api.github.com/repos/Bash-it/bash-it/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bash-it/bash-it/labels{/name}","releases_url":"https://api.github.com/repos/Bash-it/bash-it/releases{/id}","created_at":"2010-10-02T18:36:17Z","updated_at":"2015-09-06T11:03:15Z","pushed_at":"2015-09-06T17:20:25Z","git_url":"git://github.com/Bash-it/bash-it.git","ssh_url":"git@github.com:Bash-it/bash-it.git","clone_url":"https://github.com/Bash-it/bash-it.git","svn_url":"https://github.com/Bash-it/bash-it","homepage":"","size":43834,"stargazers_count":3382,"watchers_count":3382,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":777,"mirror_url":null,"open_issues_count":99,"forks":777,"open_issues":99,"watchers":3382,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Bash-it/bash-it/pulls/561"},"html":{"href":"https://github.com/Bash-it/bash-it/pull/561"},"issue":{"href":"https://api.github.com/repos/Bash-it/bash-it/issues/561"},"comments":{"href":"https://api.github.com/repos/Bash-it/bash-it/issues/561/comments"},"review_comments":{"href":"https://api.github.com/repos/Bash-it/bash-it/pulls/561/comments"},"review_comment":{"href":"https://api.github.com/repos/Bash-it/bash-it/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Bash-it/bash-it/pulls/561/commits"},"statuses":{"href":"https://api.github.com/repos/Bash-it/bash-it/statuses/73292820e1eea039f79df3f905524b9fb546d2bf"}}}}